diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 771b2bb..8437e02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -72,10 +72,6 @@ endforeach() | |||
72 | 72 | ||
73 | set(BUILD_NC true) | 73 | set(BUILD_NC true) |
74 | 74 | ||
75 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") | ||
76 | add_definitions(-fno-common) | ||
77 | endif() | ||
78 | |||
79 | if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") | 75 | if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") |
80 | add_definitions(-DHAVE_ATTRIBUTE__BOUNDED__) | 76 | add_definitions(-DHAVE_ATTRIBUTE__BOUNDED__) |
81 | add_definitions(-DHAVE_ATTRIBUTE__DEAD__) | 77 | add_definitions(-DHAVE_ATTRIBUTE__DEAD__) |
@@ -131,7 +127,7 @@ add_definitions(-D__END_HIDDEN_DECLS=) | |||
131 | set(CMAKE_POSITION_INDEPENDENT_CODE true) | 127 | set(CMAKE_POSITION_INDEPENDENT_CODE true) |
132 | 128 | ||
133 | if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") | 129 | if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") |
134 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pointer-sign") | 130 | add_compile_options(-Wno-pointer-sign) |
135 | endif() | 131 | endif() |
136 | 132 | ||
137 | if(WIN32) | 133 | if(WIN32) |