[oe] [meta-oe][PATCH 1/2] breakpad.bbclass: set includedir in CXXFLAGS

Anders Darander anders at chargestorm.se
Wed Apr 23 11:24:33 UTC 2014


Previously this was only set in CFLAGS.
An build issue was discovered while convering in internal application
from Qt4 to Qt5. As a result of this, the required header files were
no longer found, until we also set CXXFLAGS.

Signed-off-by: Anders Darander <anders at chargestorm.se>
---
 meta-oe/classes/breakpad.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/classes/breakpad.bbclass b/meta-oe/classes/breakpad.bbclass
index 8c49ca7..e4d6808 100644
--- a/meta-oe/classes/breakpad.bbclass
+++ b/meta-oe/classes/breakpad.bbclass
@@ -5,6 +5,7 @@
 DEPENDS += "breakpad breakpad-native"
 
 CFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
+CXXFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
 
 BREAKPAD_BIN ?= ""
 
-- 
2.0.0.rc0




More information about the Openembedded-devel mailing list