Skip to content

Commit d1503a6

Browse files
committed
Add -fno-common to the CMake setup.
1 parent 3e9ac17 commit d1503a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CoreFoundation/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ target_compile_options(CoreFoundation
362362
-fblocks
363363
-fconstant-cfstrings
364364
-fdollars-in-identifiers
365-
-fexceptions)
365+
-fexceptions
366+
-fno-common)
366367
if(CF_DEPLOYMENT_SWIFT)
367368
target_compile_options(CoreFoundation
368369
PRIVATE

0 commit comments

Comments
 (0)