aboutsummaryrefslogtreecommitdiff
path: root/package/berkeleydb
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2017-02-22 13:51:10 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-22 21:33:21 +0100
commitac8912579f469273b7163577ef71b5f76d7dba9b (patch)
treee8e5ab9c111434d676e4d625818385fae340e057 /package/berkeleydb
parent0aac65bd6371ab5fb1b30ebec05a59dbe1a87d5a (diff)
downloadbuildroot-ac8912579f469273b7163577ef71b5f76d7dba9b.tar.gz
buildroot-ac8912579f469273b7163577ef71b5f76d7dba9b.tar.bz2
berkeleydb: workaround m68k/coldfire issue
Fixes: http://autobuild.buildroot.net/results/40423aa6c8f6fe66c771cca3e09b21e15525eb5f Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [Thomas: rename BERKELEYDB_CONF_OPTS to BERKELEYDB_CONF_ENV.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/berkeleydb')
-rw-r--r--package/berkeleydb/berkeleydb.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index e5c11bddcf..a315943ee6 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -20,11 +20,18 @@ BERKELEYDB_BINARIES = db_archive db_checkpoint db_deadlock db_dump \
db_hotbackup db_load db_log_verify db_printlog db_recover db_replicate \
db_stat db_tuner db_upgrade db_verify
+# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
+ifeq ($(BR2_m68k_cf),y)
+BERKELEYDB_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
+endif
+
# build directory can't be the directory where configure are there, so..
define BERKELEYDB_CONFIGURE_CMDS
(cd $(@D)/build_unix; rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
+ $(BERKELEYDB_CONF_ENV) \
../dist/configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \