diff options
Diffstat (limited to '.apkfoundry/master/abuild.ppc64.conf')
-rw-r--r-- | .apkfoundry/master/abuild.ppc64.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.apkfoundry/master/abuild.ppc64.conf b/.apkfoundry/master/abuild.ppc64.conf new file mode 100644 index 000000000..f042e46be --- /dev/null +++ b/.apkfoundry/master/abuild.ppc64.conf @@ -0,0 +1,16 @@ +# -O2 -> Perform second-level optimisations. +# Not -Os because PPC64 machines aren't starved for space. +# -ggdb -> Generate GDB debugging information. +# This is used with splitdebug to make -dbg split packages. +# -mcpu=970 -> Require a Power4+ "970" or higher CPU. +# -mtune=power9 -> Tune for Power9 machines. +# -maltivec -> Always enable AltiVec. +# AltiVec extensions are available on every CPU we target. +# -mlong-dou... -> Ensure musl ABI is followed. +export CFLAGS="-O2 -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64" +export CXXFLAGS="$CFLAGS" +export LDFLAGS="-Wl,--as-needed" +export JOBS=64 +export MAKEFLAGS=-j$JOBS + +export DEFAULT_DBG="YesPlease" |