diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 18:03:26 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-11 18:03:26 -0800 |
commit | ef487406436407320a54273d5668bf1520e08d67 (patch) | |
tree | 6d09d394cc58ed705401327c2265958b56fdc88f /src/CMakeLists.txt | |
parent | 8feee5b94f0e5ed4b09eca537a0e795a763f1e84 (diff) | |
parent | 491b7775b273daf1325a1b050345dbf75b394315 (diff) |
Merge pull request #281 from nwellnhof/shrink_entity_table
Reduce size of gperf entity table
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 b4a0fe8..254c065 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -124,7 +124,7 @@ if(MSVC) endif() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127 /wd4244 /wd4267 /wd4706 /wd4800 /D_CRT_SECURE_NO_WARNINGS") elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic -D_GNU_SOURCE") endif() # Compile as C++ under MSVC |