firefox: try to fix i686 builds
This commit is contained in:
parent
67300a96c4
commit
400014dfbf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue