Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Add NDEBUG to release flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Nov 25, 2015
1 parent ff0ce3f commit cbd4f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flags/sanitize_address.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ polly_add_cache_flag(CMAKE_CXX_FLAGS "-g")

set(
CMAKE_CXX_FLAGS_RELEASE
"-O1"
"-O1 -DNDEBUG"
CACHE
STRING
"C++ compiler flags"
Expand All @@ -26,7 +26,7 @@ polly_add_cache_flag(CMAKE_C_FLAGS "-g")

set(
CMAKE_C_FLAGS_RELEASE
"-O1"
"-O1 -DNDEBUG"
CACHE
STRING
"C compiler flags"
Expand Down

0 comments on commit cbd4f22

Please sign in to comment.