[Buildroot] [git commit] woff2: fix build on m68k

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun May 13 19:56:09 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=07ce2885fd6f3cf1c9e72ec2b9a852971ce7c939
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Same issue on woff2 than in some other packages such as lcdapi: see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509

Fixes:
 - http://autobuild.buildroot.net/results/6c97a08e6ca2e914d54fbb525b3f0bb90023ef07

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/woff2/woff2.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/woff2/woff2.mk b/package/woff2/woff2.mk
index b2ff33fe98..2f0206c82b 100644
--- a/package/woff2/woff2.mk
+++ b/package/woff2/woff2.mk
@@ -21,4 +21,10 @@ ifneq ($(BR2_SHARED_LIBS),y)
 WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON
 endif
 
+# Internal error, aborting at dw2gencfi.c:215 in emit_expr_encoded
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
+ifeq ($(BR2_m68k_cf),y)
+WOFF2_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
+endif
+
 $(eval $(cmake-package))


More information about the buildroot mailing list