Drop ppc64el.patch
Markus Koschany
8 years ago
0 | Index: lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml | |
1 | =================================================================== | |
2 | --- lwjgl-2.7.1+dfsg.orig/platform_build/linux_ant/build.xml | |
3 | +++ lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml | |
4 | @@ -23,6 +23,10 @@ | |
5 | <exec executable="uname" outputproperty="hwplatform"> | |
6 | <arg value="-m"/> | |
7 | </exec> | |
8 | + <condition property="cflags_ppc64le" value="-mcpu=powerpc -m64" else=""> | |
9 | + <os arch="ppc64le"/> | |
10 | + </condition> | |
11 | + <echo message="value of arch is ${os.arch} the value of hwplatform is ${hwplatform} and cflags32 ${cflags32}" /> | |
12 | <condition property="xf86vm_lib" value="-lXxf86vm" else="-Wl,-static,-lXxf86vm,-call_shared"> | |
13 | <os name="SunOS" /> | |
14 | </condition> | |
15 | @@ -124,7 +128,7 @@ | |
16 | <target name="compiledeb"> | |
17 | <mkdir dir="deb"/> | |
18 | <apply dir="deb" executable="gcc" skipemptyfilesets="true" failonerror="true"> | |
19 | - <arg line="${cflags32} ${cflags_pthread}"/> | |
20 | + <arg line="${cflags32} ${cflags_pthread} ${cflags_ppc64le}"/> | |
21 | <arg value="-I${java.home}/include"/> | |
22 | <arg value="-I${java.home}/include/linux"/> | |
23 | <arg value="-I${java.home}/../include"/> |