diff options
| author | 2022-02-05 01:00:40 +0000 | |
|---|---|---|
| committer | 2022-02-05 01:00:40 +0000 | |
| commit | 0eec7ea1762b1738da95f0ecfe7a03dbb3f5ce6c (patch) | |
| tree | 062c0c074c44f01b7984347598ad9da91b30c546 | |
| parent | 67a4f2511b2a403506221b78c11466836e0f0c42 (diff) | |
| parent | e6b66f6445bb4b060307215ae14e378af21f8d6b (diff) | |
Merge "Remove unnecessary --warn-shared-textrel flags." am: 56fc48c482 am: 1cc8b23a02 am: c55e748b28 am: e6b66f6445
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973342
Change-Id: Ib8a8e14dbba1e0090a1b66a74ce83ce148a52d9c
| -rw-r--r-- | cc/config/arm64_linux_host.go | 1 | ||||
| -rw-r--r-- | cc/config/global.go | 1 | ||||
| -rw-r--r-- | cc/config/x86_linux_bionic_host.go | 1 |
3 files changed, 0 insertions, 3 deletions
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", |