diff options
author | drenfong.wang <drenfong.wang@intel.com> | 2019-02-12 06:56:11 +0000 |
---|---|---|
committer | Junfeng Wang <drenfong.wang@intel.com> | 2019-02-12 07:12:10 +0000 |
commit | 4f19617f0712ff80787944030e3a2523bc742299 (patch) | |
tree | c2df97f33d239eadf215589e0f0367b44ae58c05 /src/CMakeLists.txt | |
parent | aaf5c64d4ac13023925924cc356409107bb641b3 (diff) |
fix gcc compile args
Change-Id: Ib6c6042619e7afcb561300762e49dbbfd2ff57cf
Signed-off-by: drenfong.wang <drenfong.wang@intel.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6937746..59b93d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,7 +26,7 @@ string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER) # 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") |