14 lines
461 B
Diff
14 lines
461 B
Diff
Index: CMakeLists.txt
|
|
===================================================================
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -24,7 +24,7 @@ include_directories(${PROJECT_BINARY_DIR
|
|
|
|
include(CheckCSourceCompiles)
|
|
|
|
-set(CMAKE_C_FLAGS "-std=gnu99 -Wall")
|
|
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall")
|
|
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pedantic")
|
|
if(WITH_IPV6)
|
|
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS NS_ENABLE_IPV6)
|