diff options
author | fanquake <fanquake@gmail.com> | 2023-10-31 15:08:47 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-11-09 17:07:21 +0000 |
commit | 45257601da4cf38f081d9af2c18cd0be7174bcef (patch) | |
tree | 89cbded7b7b510b20847b27af427f9a83b01c19e /src/qt/modaloverlay.cpp | |
parent | b3898e946cf81e2e7b573e1c5204bd29af2feecd (diff) |
build: remove -bind_at_load usage
This is deprecated on macOS:
```bash
ld: warning: -bind_at_load is deprecated on macOS
```
and likely redundant anyways, given the behaviour of dyld3.
Unfortunately libtool is still injecting a `-bind_at_load`:
```bash
# Don't allow lazy linking, it breaks C++ global constructors
# But is supposedly fixed on 10.4 or later (yay!).
if test CXX = "$tagname"; then
case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
10.[0123])
func_append compile_command " $wl-bind_at_load"
func_append finalize_command " $wl-bind_at_load"
;;
esac
fi
```
so this doesn't remove all the warnings, but removes us as a potential
source of them.
Note that anywhere the ld64 warnings are being emitted, we are already
not adding this flag to our hardened ldflags, because of `-Wl,-fatal_warnings`.
Diffstat (limited to 'src/qt/modaloverlay.cpp')
0 files changed, 0 insertions, 0 deletions