summaryrefslogblamecommitdiff
path: root/.apkfoundry/master/abuild.ppc64.conf
blob: f042e46be5fb6d439f833fd87770b385ab2ed86d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"