aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/palmtop.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass
index 059a058..d80c00f 100644
--- a/classes/palmtop.bbclass
+++ b/classes/palmtop.bbclass
@@ -9,6 +9,10 @@
inherit qmake palmtop-defs
+# A header from Qt/Embedded that almost all Opie code includes contains
+# casts that fail to build with modern GCC without this set
+CXXFLAGS += "-fpermissive"
+
# special case for DISTRO = sharprom
CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++"
CPP_SUPPORT_LIB_sharprom-compatible = "LIBS+=-lstdc++"