mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 07:42:21 +03:00
use -O3 for C++ code as well, makes a difference
This commit is contained in:
committed by
Konstantinos Margaritis
parent
a280a5e253
commit
df769a9a9a
@@ -225,7 +225,7 @@ else()
|
||||
if(OPTIMISE)
|
||||
if (NOT CMAKE_BUILD_TYPE MATCHES MINSIZEREL)
|
||||
set(OPT_C_FLAG "-O3")
|
||||
set(OPT_CXX_FLAG "-O2")
|
||||
set(OPT_CXX_FLAG "-O3")
|
||||
else ()
|
||||
set(OPT_C_FLAG "-Os")
|
||||
set(OPT_CXX_FLAG "-Os")
|
||||
|
Reference in New Issue
Block a user