mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOSKRNL] Enforce -fno-common on GCC & CLang builds
This commit is contained in:
parent
c6e9fea844
commit
aa2697df2d
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ PROJECT(NTOS)
|
|||
|
||||
include(ntos.cmake)
|
||||
|
||||
if (CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
|
||||
# Make sure we don't duplicate some symbols
|
||||
add_compile_options(-fno-common)
|
||||
endif()
|
||||
|
||||
set(NTOSKRNL_SOURCE ${SOURCE})
|
||||
set(NTOSKRNL_ASM_SOURCE ${ASM_SOURCE})
|
||||
|
||||
|
|
Loading…
Reference in a new issue