From: Alberto Garcia Date: Thu, 31 May 2018 17:38:40 +0000 (+0100) Subject: Fix FTBFS in armhf X-Git-Tag: archive/raspbian/2.4.11-4+rpi1~1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c7e90bae13402b9a64aab310872da2c2ffc3d4d;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"])