From 081e08701cc768ca7d4ddbbc4641e5079e4a78a1 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 2 Sep 2016 08:18:33 +0000 Subject: [PATCH] Fix FTBFS in armhf =================================================================== Gbp-Pq: Name ftbfs-armhf.patch --- Source/JavaScriptCore/GNUmakefile.am | 2 ++ Source/autotools/SetupAutomake.m4 | 2 ++ 2 files changed, 4 insertions(+) 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"]) -- 2.30.2