mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-26 02:45:25 +02:00
try to make cmake silent [3]
This commit is contained in:
parent
90820a3954
commit
db62f3e08e
1 changed files with 2 additions and 2 deletions
|
@ -174,13 +174,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pipe")
|
||||
if (WITH_HARDENING)
|
||||
add_definitions( "-D_FORTIFY_SOURCE=2" )
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security -Wno-unused-parameter" )
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat -Wformat-security -Werror=format-security" )
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector --param ssp-buffer-size=4" )
|
||||
endif ()
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
# more tweaks
|
||||
if (NOT (MSVC OR MSYS OR APPLE))
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -stdlib=libstdc++" )
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-const-variable -Wno-overloaded-virtual -Wno-c99-extensions -stdlib=libstdc++" )
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue