From 51a6fef60823ed3cee19a75a93e9e5ad04e5bc5f Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 3 Sep 2018 13:02:41 -0300 Subject: [PATCH] icecat: mark as broken on armv[67]l --- srcpkgs/icecat/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/icecat/template b/srcpkgs/icecat/template index 5dcb8e4f0e0..4771e7448d5 100644 --- a/srcpkgs/icecat/template +++ b/srcpkgs/icecat/template @@ -1,4 +1,4 @@ -# Template build file for 'icecat'. +# Template file for 'icecat' pkgname=icecat version=52.6.0 revision=3 @@ -30,6 +30,11 @@ build_options_default="alsa dbus gtk3 pulseaudio startup_notification xscreensav 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) @@ -68,7 +73,7 @@ do_build() { mkdir -p /usr/lib/icecat export LDFLAGS+=" -Wl,-rpath=/usr/lib/icecat" - if [ -n "$SOURCE_DATE_EPOCH" ]; then + if [ "$SOURCE_DATE_EPOCH" ]; then export MOZ_BUILD_DATE=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d%H%M%S") fi