From 65656b2721f8569503b2e6c3dfea96074dbdd7ac Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Mon, 28 May 2018 14:17:22 +0100 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