From 6699c0454f80350a7671ef366946a94dec556da3 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 12 Apr 2016 16:28:18 +0100 Subject: Don't use the -pipe compiler flag. On modern hardware this makes no difference to build times. --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d39624323..af2dd4d43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,13 +111,6 @@ endif() # If we are not using Visual Studio, we'll run the following checks if(NOT MSVC) - # Check if the C++ compiler can accept the -pipe flag, and add it to the compile flags if it works - check_cxx_compiler_flag(-pipe HAVE_PIPE_FLAG) - # If the flag was accepted, add it to the list of flags - if(HAVE_PIPE_FLAG) - set(CXXFLAGS "${CXXFLAGS} -pipe") - endif() - # The following are additional library checks, they are not required for Windows if(NOT WIN32) # Check if socket is within the socket library (if the library exists), and add it to the linker flags if needed -- cgit