[CMAKE] Build GCC and Clang builds with -fno-common

This commit is contained in:
Victor Perevertkin 2022-04-26 03:15:46 +03:00
parent 93dcc8436c
commit 8f40fc7ede
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
2 changed files with 2 additions and 7 deletions

View file

@ -55,11 +55,6 @@ if(ARCH STREQUAL "i386")
endif()
endif()
# CLang default to -fno-common from version 11 onward. We are not ready for this now
if (USE_CLANG_CL)
add_compile_options(-fcommon)
endif()
# VS 12+ requires /FS when used in parallel compilations
if(NOT MSVC_IDE)
add_compile_options(/FS)