icecat: fix ppc64 build

[ci skip]
This commit is contained in:
q66 2019-04-26 19:49:23 +02:00 committed by Johannes
parent 79621cc8e6
commit b30b55f573
2 changed files with 6 additions and 1 deletions

View file

@ -32,7 +32,6 @@ ac_add_options --disable-gconf
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-elf-hack
ac_add_options --disable-install-strip
ac_add_options --disable-strip
ac_add_options --disable-profiling

View file

@ -58,6 +58,12 @@ do_build() {
;;
esac
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*)
echo "ac_add_options --disable-elf-hack" >>.mozconfig
;;
esac
if [ "$CROSS_BUILD" ]; then
export HOST_CFLAGS="${XBPS_CFLAGS}"
export HOST_CXXFLAGS="${XBPS_CXXFLAGS}"