diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-31 21:39:29 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-31 22:14:18 +0000 |
commit | 2b74b14cc9deb274153063ee2f157fe0d858e563 (patch) | |
tree | 43d77fa3c670e349cbfb32d255930503f10bce4d /classes | |
parent | 82df61db061d84c77588f1d758a84b3e24f78962 (diff) | |
download | meta-opie-2b74b14cc9deb274153063ee2f157fe0d858e563.tar.gz |
classes/palmtop: add -fpermissive to CXXFLAGS
Opie's qpeapplication.cpp and Qt/Embedded's qmemorymanager_qws.h contain
casts that modern GCC doesn't like and I don't plan to go and fix them
right now; add -fpermissive to CXXFLAGS to make these errors back into
warnings.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/palmtop.bbclass | 4 |
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++" |