1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-07-21 11:56:51 +00:00

Undefine FORTIFY_SOURCE before defining again

This commit is contained in:
PabloMK7 2024-08-20 14:32:14 +02:00
parent f8d133c8b3
commit b2700b1c4c

View file

@ -117,7 +117,7 @@ else()
if (NOT CMAKE_BUILD_TYPE STREQUAL Debug)
# _FORTIFY_SOURCE can't be used without optimizations.
add_compile_options(-Wp,-D_FORTIFY_SOURCE=2)
add_compile_options(-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2)
endif()
if (CITRA_WARNINGS_AS_ERRORS)