mirror of https://github.com/PCSX2/pcsx2.git
cmake: Turn back on some warnings that no longer need to be turned off.
This commit is contained in:
parent
a2e3522862
commit
8c21765c0f
|
@ -227,11 +227,6 @@ elseif(NOT MSVC)
|
||||||
set(AGGRESSIVE_WARNING -Wstrict-aliasing -Wstrict-overflow=1)
|
set(AGGRESSIVE_WARNING -Wstrict-aliasing -Wstrict-overflow=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (USE_CLANG)
|
|
||||||
# -Wno-deprecated-register: glib issue...
|
|
||||||
list(APPEND DEFAULT_WARNINGS -Wno-deprecated-register -Wno-c++14-extensions)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (USE_PGO_GENERATE OR USE_PGO_OPTIMIZE)
|
if (USE_PGO_GENERATE OR USE_PGO_OPTIMIZE)
|
||||||
add_compile_options("-fprofile-dir=${CMAKE_SOURCE_DIR}/profile")
|
add_compile_options("-fprofile-dir=${CMAKE_SOURCE_DIR}/profile")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue