Maybe macOS needs -fno-common ...?

This commit is contained in:
Ryan C. Gordon 2017-07-12 02:40:16 -04:00
parent 4b2180dd17
commit 9ae6fc9e87
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ endif()
include_directories(./src)
if(APPLE)
set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework CoreFoundation -framework IOKit")
set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-fno-common -framework CoreFoundation -framework IOKit")
endif()
if(CMAKE_COMPILER_IS_GNUCC)