icecat: fix arm* build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
e5f43c4d61
commit
ad2128e916
1 changed files with 3 additions and 11 deletions
|
@ -24,17 +24,6 @@ depends="nss>=3.29 desktop-file-utils hicolor-icon-theme"
|
|||
build_options="alsa dbus gtk3 pulseaudio startup_notification xscreensaver"
|
||||
build_options_default="alsa dbus gtk3 pulseaudio startup_notification xscreensaver"
|
||||
|
||||
# CFLAGS and CXXFLAGS to set work around code which gcc6 would
|
||||
# otherwise regard as out-of-specification and allow it to produce a
|
||||
# working program.
|
||||
CFLAGS="-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
CXXFLAGS="-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[67]l) broken="DEBUG: armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-msse4.1'
|
||||
DEBUG: configure: error: --enable-pie requires PIE support from the linker." ;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
|
@ -56,6 +45,9 @@ do_build() {
|
|||
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
||||
echo "ac_add_options --enable-gold=no" >> .mozconfig
|
||||
;;
|
||||
arm*|aarch*)
|
||||
echo "ac_add_options --enable-gold=no" >> .mozconfig
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
|
Loading…
Reference in a new issue