mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:13:00 +00:00
[CMAKE] Use -fcommon when using CLang
This commit is contained in:
parent
5387a7ccb2
commit
56e56f8ecc
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ if(ARCH STREQUAL "i386")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# CLang default to -fno-common from version 11 onward. We are not rady for this now
|
||||||
|
if (USE_CLANG_CL)
|
||||||
|
add_compile_options(-fcommon)
|
||||||
|
endif()
|
||||||
|
|
||||||
# VS 12+ requires /FS when used in parallel compilations
|
# VS 12+ requires /FS when used in parallel compilations
|
||||||
if(NOT MSVC_IDE)
|
if(NOT MSVC_IDE)
|
||||||
add_compile_options(/FS)
|
add_compile_options(/FS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue