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

login
register
mail settings
Submitter Anders Darander
Date April 23, 2014, 11:24 a.m.
Message ID <01a958aab060f2a674e5c382b0ae8272c9c9bb4d.1398252166.git.anders@chargestorm.se>
Download mbox | patch
Permalink /patch/70799/
State Accepted, archived
Headers show

Comments

Anders Darander - April 23, 2014, 11:24 a.m.
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@chargestorm.se>
---
 meta-oe/classes/breakpad.bbclass | 1 +
 1 file changed, 1 insertion(+)

Patch

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 ?= ""