Skip to content

Commit

Permalink
Don't force optimization flags on non-release configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jun 2, 2015
1 parent 86b6750 commit 6480af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 1)

# It's pretty safe and provide big speedup for our packet processor and patricia code
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
set(CMAKE_C_FLAGS_RELEASE "-O2")
set(CMAKE_CXX_FLAGS_RELEASE "-O2")

set(FASTNETMON_PROFILER OFF)

Expand Down

0 comments on commit 6480af1

Please sign in to comment.