diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-28 13:06:22 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-28 13:06:22 +0200 |
commit | 7574d78b44aaa3905eced296c2150f1895267688 (patch) | |
tree | b2daaa219676d09895c64924ff94edad60226a5f /classes/cmake.bbclass | |
parent | 1340d855656ee15943234cc2d121278585f37b47 (diff) |
cmake bbclass: s/build/target/ for cflags
Diffstat (limited to 'classes/cmake.bbclass')
-rw-r--r-- | classes/cmake.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass index 937efa026e..255deba62e 100644 --- a/classes/cmake.bbclass +++ b/classes/cmake.bbclass @@ -19,8 +19,8 @@ OECMAKE_C_COMPILER ?= "`echo ${CC} | sed 's/^\([^ ]*\).*/\1/'`" OECMAKE_CXX_COMPILER ?= "`echo ${CXX} | sed 's/^\([^ ]*\).*/\1/'`" # Compiler flags -OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${BUILD_CPPFLAGS}" -OECMAKE_CXX_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${BUILD_CPPFLAGS} -fpermissive" +OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${TARGET_CPPFLAGS}" +OECMAKE_CXX_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${TARGET_CPPFLAGS} -fpermissive" OECMAKE_C_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} -DNDEBUG" OECMAKE_CXX_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} -DNDEBUG" |