mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[CMAKE] msvc.cmake: Remove redundant '/Gy' (#4424)
* [CMAKE] msvc.cmake: Remove redundant '/Gy' Function-level-Linking '/Gy' is already enabled unconditionally at line 26. So no need to enable it here another time. Makes the differences between the multiple OPTIMIZE-levels more obvious. * [CMAKE] msvc.cmake: Fix typo in comment
This commit is contained in:
parent
f59c58d833
commit
493bb8de46
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ elseif(OPTIMIZE STREQUAL "3")
|
|||
elseif(OPTIMIZE STREQUAL "4")
|
||||
add_compile_options(/Ob0 /Od)
|
||||
elseif(OPTIMIZE STREQUAL "5")
|
||||
add_compile_options(/Gy /Ob2 /Os /Ox /GS-)
|
||||
add_compile_options(/Ob2 /Os /Ox /GS-)
|
||||
endif()
|
||||
|
||||
# Always use string pooling: this helps reducing the binaries size since a lot
|
||||
|
@ -55,7 +55,7 @@ if(ARCH STREQUAL "i386")
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# CLang default to -fno-common from version 11 onward. We are not rady for this now
|
||||
# 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()
|
||||
|
|
Loading…
Reference in a new issue