| 16 | 1. and this patch: |
| 17 | {{{ |
| 18 | $ diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl |
| 19 | --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig 2019-09-21 16:25:24.000000000 -0700 |
| 20 | +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl 2019-09-21 16:26:20.000000000 -0700 |
| 21 | @@ -1477,6 +1477,7 @@ |
| 22 | append_to_environment_value configure $env_var -isysroot${configure.sdkroot} |
| 23 | } |
| 24 | append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot} |
| 25 | + append_to_environment_value configure "LDFLAGS" -Wl,-w |
| 26 | } |
| 27 | |
| 28 | # add extra flags that are conditional on whether we're building universal |
| 29 | }}} |