Lagom: Don't compile with -fPIC on WIN32

This commit is contained in:
Filiph Siitam Sandström 2022-12-12 22:57:36 +01:00 committed by Linus Groh
parent ce39c907fd
commit f050534991
Notes: sideshowbarker 2024-07-17 03:19:08 +09:00

View file

@ -8,8 +8,11 @@ add_compile_options(-Wno-unused-command-line-argument)
add_compile_options(-fsigned-char)
add_compile_options(-fno-exceptions)
add_compile_options(-fdiagnostics-color=always)
add_compile_options(-fPIC -g1)
add_compile_options(-g1)
add_compile_options(-O2)
if (NOT ENABLE_FUZZERS AND NOT APPLE)
add_compile_options(-fno-semantic-interposition)
endif()
if (NOT WIN32)
add_compile_options(-fPIC)
endif()