diff options
author | Peter Powell <petpow@saberuk.com> | 2016-04-12 16:28:18 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-02-12 22:04:10 +0000 |
commit | 6699c0454f80350a7671ef366946a94dec556da3 (patch) | |
tree | ad9a4e990f634363d06b5646ba71eb8206989175 | |
parent | cbe0423149efa82c183758fc9d1783c745490928 (diff) |
Don't use the -pipe compiler flag.
On modern hardware this makes no difference to build times.
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 0 insertions, 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 |