git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c82941e
)
Update CMakeLists.txt
author
svost
<svost@users.noreply.github.com>
Sun, 21 Jan 2024 21:33:17 +0000 (
00:33
+0300)
committer
GitHub
<noreply@github.com>
Sun, 21 Jan 2024 21:33:17 +0000 (
00:33
+0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
036024d
..
6631b60
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-43,7
+43,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")