Keep c++ flags from environment. 96/108996/1
authorFrancisco Santos <f1.santos@samsung.com>
Fri, 6 Jan 2017 11:33:25 +0000 (11:33 +0000)
committerFrancisco Santos <f1.santos@samsung.com>
Fri, 6 Jan 2017 11:33:25 +0000 (11:33 +0000)
Change-Id: Ia892dcd39c87aa6628d9d7b12120eb0f414c047a

build/tizen/CMakeLists.txt

index 9f51652..66b1dc3 100644 (file)
@@ -169,7 +169,7 @@ ENDIF(INTERNATIONALIZATION)
 ###########################################################################
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${REQUIRED_CFLAGS} ${DALI_DEMO_CFLAGS} -Werror -Wall -fPIE")
-SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_FLAGS}")
 
 INCLUDE_DIRECTORIES(${ROOT_SRC_DIR})
 #INCLUDE_DIRECTORIES(${DEMO_SRC_DIR})