diff options
| author | Theo Buehler <tb@openbsd.org> | 2025-04-12 17:21:01 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2025-04-12 17:21:01 +0200 |
| commit | 2a63bda5238e4e1d86684f4147e04541bbe75a54 (patch) | |
| tree | 3ba138e5ec57e5e5bc79e1fe63c4f69ef4b1ce97 | |
| parent | 033df1bf19cb374f8537315d38579039a7ab36f9 (diff) | |
| download | portable-2a63bda5238e4e1d86684f4147e04541bbe75a54.tar.gz portable-2a63bda5238e4e1d86684f4147e04541bbe75a54.tar.bz2 portable-2a63bda5238e4e1d86684f4147e04541bbe75a54.zip | |
Drop -fno-common
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e22a6ae..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__) |
