Drop unnecessary and possibly harmful optimization setting

Using -O3 is default for release builds with gcc/clang anyway, so this
doesn't gain anything, but overwriting the existing flags might remove some
that might be needed.
This commit is contained in:
Simon Richter 2017-02-23 18:00:16 +01:00 committed by Wayne Stambaugh
parent 04d1b2fca7
commit 70b3edd06f
1 changed files with 0 additions and 3 deletions

View File

@ -1,9 +1,6 @@
#add_definitions(-DPRINT_STATISTICS_3D_VIEWER)
add_definitions(-DPCBNEW)
set( CMAKE_C_FLAGS_RELEASE "-O3" )
set( CMAKE_CXX_FLAGS_RELEASE "-O3" )
include_directories(BEFORE ${INC_BEFORE})
include_directories(
../pcbnew