aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-04-12 17:21:01 +0200
committerTheo Buehler <tb@openbsd.org>2025-04-12 17:21:01 +0200
commit2a63bda5238e4e1d86684f4147e04541bbe75a54 (patch)
tree3ba138e5ec57e5e5bc79e1fe63c4f69ef4b1ce97
parent033df1bf19cb374f8537315d38579039a7ab36f9 (diff)
downloadportable-2a63bda5238e4e1d86684f4147e04541bbe75a54.tar.gz
portable-2a63bda5238e4e1d86684f4147e04541bbe75a54.tar.bz2
portable-2a63bda5238e4e1d86684f4147e04541bbe75a54.zip
Drop -fno-common
-rw-r--r--CMakeLists.txt4
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
73set(BUILD_NC true) 73set(BUILD_NC true)
74 74
75if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
76 add_definitions(-fno-common)
77endif()
78
79if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") 75if(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__)