git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6452e5d
)
Update CMakeLists.txt
author
svost
<svost@users.noreply.github.com>
Sun, 14 Jan 2024 17:58:10 +0000 (20:58 +0300)
committer
GitHub
<noreply@github.com>
Sun, 14 Jan 2024 17:58:10 +0000 (20:58 +0300)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index
74969fe
..
dcd46a8
100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-29,7
+29,7
@@
if (NOT MSVC)
if (NOT WIN32)
set(FPIC "-fPIC")
endif()
-set (CMAKE_C_FLAGS "-flto -O3 ${FPIC} -Wno-deprecated -fstack-protector-all")
+set (CMAKE_C_FLAGS "-flto=auto -O3 ${FPIC} -Wno-deprecated -Wno-deprecated-declarations -fstack-protector-all")
set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter -fexceptions -frtti")
else()
set(CMAKE_C_FLAGS "/O2")