From 9ae6fc9e879be75efd22766af5b48768079c5b60 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 12 Jul 2017 02:40:16 -0400 Subject: [PATCH] Maybe macOS needs -fno-common ...? --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3205915..0dc17ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)