Refresh ppc64el.patch
Markus Koschany
8 years ago
0 | From: Markus Koschany <apo@debian.org> | |
1 | Date: Sat, 9 Apr 2016 19:13:26 +0200 | |
2 | Subject: ppc64el | |
3 | ||
4 | --- | |
5 | platform_build/linux_ant/build.xml | 4 ++++ | |
6 | 1 file changed, 4 insertions(+) | |
7 | ||
8 | diff --git a/platform_build/linux_ant/build.xml b/platform_build/linux_ant/build.xml | |
9 | index db62711..87dc2c2 100644 | |
10 | --- a/platform_build/linux_ant/build.xml | |
11 | +++ b/platform_build/linux_ant/build.xml | |
12 | @@ -23,6 +23,10 @@ | |
13 | <exec executable="uname" outputproperty="hwplatform"> | |
14 | <arg value="-m"/> | |
15 | </exec> | |
16 | + <condition property="cflags_ppc64le" value="-mcpu=powerpc -m64" else=""> | |
17 | + <os arch="ppc64le"/> | |
18 | + </condition> | |
19 | + <echo message="value of arch is ${os.arch} the value of hwplatform is ${hwplatform} and cflags32 ${cflags32}" /> | |
20 | <condition property="cflags_pthread" value="-pthreads" else="-pthread"> | |
21 | <os name="SunOS" /> | |
22 | </condition> |