firefox: try to fix i686 builds

This commit is contained in:
Duncaen 2017-06-14 18:46:08 +02:00
parent 67300a96c4
commit 400014dfbf
1 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,13 @@ do_build() {
export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
fi
case "$XBPS_TARGET_MACHINE" in
i686)
export CFLAGS+=" -D_FILE_OFFSET_BITS=64"
export CXXFLAGS+=" -D_FILE_OFFSET_BITS=64"
;;
esac
export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox"
if [ "$SOURCE_DATE_EPOCH" ]; then