aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-12-05 19:05:38 +0100
committerGitHub <noreply@github.com>2018-12-05 19:05:38 +0100
commit697e2ed49039d3573a4fe8862341e85e47c74932 (patch)
tree8b0f54a073a12e1236d4e8f2cd844480ebdf115c
parent6ae143685ae0977ec50ef2e433e98e086ef91c91 (diff)
parent99e1b6db4785d4a34f2a350551681ea45362840a (diff)
downloadnextpnr-697e2ed49039d3573a4fe8862341e85e47c74932.tar.gz
nextpnr-697e2ed49039d3573a4fe8862341e85e47c74932.tar.bz2
nextpnr-697e2ed49039d3573a4fe8862341e85e47c74932.zip
Merge pull request #165 from smunaut/build_pipe
build: Make use of the pipe option to avoid temporary files
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24ec76b2..33a703d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,8 +48,8 @@ set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /D_DEBUG /W4 /wd4100 /wd4244 /wd4125 /wd4800 /wd4456 /wd4458 /wd4305 /wd4459 /wd4121 /wd4996")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /W4 /wd4100 /wd4244 /wd4125 /wd4800 /wd4456 /wd4458 /wd4305 /wd4459 /wd4121 /wd4996 /wd4127")
else()
-set(CMAKE_CXX_FLAGS_DEBUG "-Wall -fPIC -ggdb")
-set(CMAKE_CXX_FLAGS_RELEASE "-Wall -fPIC -O3 -g")
+set(CMAKE_CXX_FLAGS_DEBUG "-Wall -fPIC -ggdb -pipe")
+set(CMAKE_CXX_FLAGS_RELEASE "-Wall -fPIC -O3 -g -pipe")
endif()
set(CMAKE_DEFIN)