summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-08-14 01:51:41 (GMT)
committerSung-jae Park <nicesj.park@samsung.com>2013-08-14 01:51:41 (GMT)
commit847e2e8e3abdcf4ef87ee5478ed080434c3e31cb (patch)
tree9163efc10bb6211bd82e33afeca31d84638ab5cf
parentfc46374d274540be801ed7b28b948e05e9db02f1 (diff)
downloaddata-provider-master-847e2e8e3abdcf4ef87ee5478ed080434c3e31cb.zip
data-provider-master-847e2e8e3abdcf4ef87ee5478ed080434c3e31cb.tar.gz
data-provider-master-847e2e8e3abdcf4ef87ee5478ed080434c3e31cb.tar.bz2
Do not overwrite the CFLAGS
Change-Id: I9ad69995657d1d0cc3040bee28dcc1110717166b
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db98c32..e01b4c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,8 +35,8 @@ pkg_check_modules(pkg REQUIRED
)
SET(PACKAGE "${PROJECT_NAME}")
-SET(CMAKE_C_FLAGS "-Wall -fpie -Winline -Werror -fno-builtin-malloc -fno-omit-frame-pointer -g")
-SET(CMAKE_EXE_LINKER_FLAGS "-pie")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fpie -Winline -Werror -fno-builtin-malloc -fno-omit-frame-pointer -g")
+SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)