From ad2128e916592828691b5977c2f7949d68f48df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 4 Sep 2018 20:19:34 +0200 Subject: [PATCH] icecat: fix arm* build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/icecat/template | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/srcpkgs/icecat/template b/srcpkgs/icecat/template index 4771e7448d5..49dcb619c24 100644 --- a/srcpkgs/icecat/template +++ b/srcpkgs/icecat/template @@ -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