summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrenfong.wang <drenfong.wang@intel.com>2019-02-12 06:19:01 +0000
committerdrenfong.wang <drenfong.wang@intel.com>2019-02-12 06:19:01 +0000
commit834d642159659bc1601ad49688a7caff4ff52388 (patch)
treeb98c4c3d089346ee4809041f4bdd73f74069462b
parent1c72e24da89d498f86fa2d96d3df42795fd0ce8b (diff)
fix gcc compile args
Change-Id: I9352e17b20d718b6385c93e4d92cb156adcca60a Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
-rw-r--r--src/plugins/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index b347989..ae8e33b 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -15,7 +15,7 @@
# set compiler options
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99")
+set(CMAKE_C_FLAGS "-Wall -std=gnu99")
set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O2")
set(CMAKE_C_FLAGS_DEBUG "-g -O0")
set (CMAKE_INSTALL_LIBDIR "/usr/lib")