From: Alberto Garcia Date: Wed, 14 Sep 2016 16:40:06 +0000 (+0000) Subject: Fix FTBFS in armhf X-Git-Tag: archive/raspbian/2.4.11-4+rpi1~2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d9498560a7c532dae283b0da0981d9bcd651d314;p=webkitgtk.git Fix FTBFS in armhf =================================================================== Gbp-Pq: Name ftbfs-armhf.patch --- diff --git a/Source/JavaScriptCore/GNUmakefile.am b/Source/JavaScriptCore/GNUmakefile.am index ab058b6..c0d38a8 100644 --- a/Source/JavaScriptCore/GNUmakefile.am +++ b/Source/JavaScriptCore/GNUmakefile.am @@ -80,9 +80,11 @@ javascriptcore_cppflags += \ -fno-omit-frame-pointer if COMPILER_GCC +if !TARGET_ARMHF javascriptcore_cppflags += \ -fno-tree-dce endif +endif javascriptcore_cflags += \ $(global_cflags) \ diff --git a/Source/autotools/SetupAutomake.m4 b/Source/autotools/SetupAutomake.m4 index e99bc53..7209b67 100644 --- a/Source/autotools/SetupAutomake.m4 +++ b/Source/autotools/SetupAutomake.m4 @@ -67,3 +67,5 @@ AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"]) # Introspection conditional. AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) + +AM_CONDITIONAL([TARGET_ARMHF],[test "$build" = "arm-unknown-linux-gnueabihf"])