From: Matthias Maier Date: Wed, 29 Mar 2023 17:57:33 +0000 (-0500) Subject: CMake: do not use -fpic compiler flag X-Git-Tag: v9.5.0-rc1~399^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38611850afaae1d2073b0b0ffe8186d1e89f6031;p=dealii.git CMake: do not use -fpic compiler flag --- diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index 9c73ffdc9e..b7e8ac7347 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -60,11 +60,6 @@ endif() # enable_if_supported(DEAL_II_CXX_FLAGS "-pedantic") -# -# Set the pic flag. -# -enable_if_supported(DEAL_II_CXX_FLAGS "-fPIC") - # # Setup various warnings: # diff --git a/cmake/setup_compiler_flags_intel.cmake b/cmake/setup_compiler_flags_intel.cmake index 08fee21e23..5da2a793b9 100644 --- a/cmake/setup_compiler_flags_intel.cmake +++ b/cmake/setup_compiler_flags_intel.cmake @@ -34,11 +34,6 @@ endif() # # ######################## -# -# Set the pic flag. -# -enable_if_supported(DEAL_II_CXX_FLAGS "-fpic") - # # Enable verbose warnings: #