Skip to contentSkip to conversation

kmsxx: fix build error for m68k/coldfire

PATCH New Waldemar Brodkorb 2 participants 2 messages Feb 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kmsxx: fix build error for m68k/coldfire

Fixes:
http://autobuild.buildroot.org/results/fc8/fc820e0b558537f771588b0e1291a8332427ff8d/

---
 package/kmsxx/kmsxx.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/kmsxx/kmsxx.mk +6 -0
index 730292e..c06d20b 100644
@@ -12,6 +12,12 @@ KMSXX_INSTALL_STAGING = YES
 KMSXX_DEPENDENCIES = libdrm host-pkgconf
 KMSXX_CONF_OPTS = -DKMSXX_ENABLE_PYTHON=OFF
 
+# 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)
+KMSXX_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
+endif
+
 ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y)
 KMSXX_TESTS = \
 	fbtestpat kmsblank kmscapture \
Signature · 1 line
2.1.4