diff options
author | David Shah <davey1576@gmail.com> | 2018-06-18 12:22:48 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-18 12:22:48 +0200 |
commit | 9a2692039a9f407b264421169d5f33b401a0f907 (patch) | |
tree | 57a507f20824598ca81afa37f47b1063703293c7 | |
parent | ef2d0d2cb9e149839b1cba746624becae4d7c5df (diff) | |
download | nextpnr-9a2692039a9f407b264421169d5f33b401a0f907.tar.gz nextpnr-9a2692039a9f407b264421169d5f33b401a0f907.tar.bz2 nextpnr-9a2692039a9f407b264421169d5f33b401a0f907.zip |
cmake: Reenable -O3 for release builds
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 06e83f6e..8901d6cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,8 @@ project(nextpnr) # List of families to build set(FAMILIES dummy ice40) set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_FLAGS "-Wall") +set(CMAKE_CXX_FLAGS_DEBUG "-Wall") +set(CMAKE_CXX_FLAGS_RELEASE "-Wall -O3 -g") set(CMAKE_DEFIN) # List of Boost libraries to include set(boost_libs filesystem thread program_options) |