Skip to content

Commit

Permalink
Maybe macOS needs -fno-common ...?
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 12, 2017
1 parent 4b2180d commit 9ae6fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 9ae6fc9

Please sign in to comment.