diff --git a/cc/config/arm64_linux_host.go b/cc/config/arm64_linux_host.go index 853d818f1..5c7f926f8 100644 --- a/cc/config/arm64_linux_host.go +++ b/cc/config/arm64_linux_host.go @@ -41,7 +41,6 @@ var ( "-Wl,-z,relro", "-Wl,-z,now", "-Wl,--build-id=md5", - "-Wl,--warn-shared-textrel", "-Wl,--fatal-warnings", "-Wl,--hash-style=gnu", "-Wl,--no-undefined-version", diff --git a/cc/config/global.go b/cc/config/global.go index cf39d3ce1..48a8b4805 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -142,7 +142,6 @@ var ( "-Wl,-z,relro", "-Wl,-z,now", "-Wl,--build-id=md5", - "-Wl,--warn-shared-textrel", "-Wl,--fatal-warnings", "-Wl,--no-undefined-version", // TODO: Eventually we should link against a libunwind.a with hidden symbols, and then these diff --git a/cc/config/x86_linux_bionic_host.go b/cc/config/x86_linux_bionic_host.go index 4b7ba6a85..976cc25be 100644 --- a/cc/config/x86_linux_bionic_host.go +++ b/cc/config/x86_linux_bionic_host.go @@ -47,7 +47,6 @@ var ( "-Wl,-z,relro", "-Wl,-z,now", "-Wl,--build-id=md5", - "-Wl,--warn-shared-textrel", "-Wl,--fatal-warnings", "-Wl,--hash-style=gnu", "-Wl,--no-undefined-version",