diff --git a/CMakeLists.txt b/CMakeLists.txt index 98328a64048881..cc1727bc12a7d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1206,7 +1206,7 @@ if(UNIX AND NOT APPLE) -fno-pic -static-libstdc++ -static-libgcc - "-Wl,-no-pie,-relative-cap-relocs" + "-Wl,-no-pie" "-Wl,-icf=safe" "-Wl,--as-needed" "-Wl,--gc-sections"