forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita3da95d
committed
meson: macos: Avoid warnings on Sonoma
Starting with the Sonoma toolchain macos' linker emits warnings when the samelibrary is linked to twice. That's ill considered, as the same library can beused by multiple subsidiary libraries. Luckily there's a flag to suppress thatwarning.On Ventura meson's default of -Wl,-undefined,dynamic_lookup caused warnings,which we suppressed with -Wl,-undefined,error. Unfortunately that causes awarning on Sonoma, which is absurd, as it's documented linker default. Toavoid that warning, only add -Wl,-undefined,error if it does not triggerwarnings. Luckily dynamic_lookup doesn't trigger a warning on Sonoma anymore.Discussion:https://postgr.es/m/20231201040515.p5bshhhtfru7d3da@awork3.anarazel.deBackpatch: 16-, where the meson build was added1 parent6612185 commita3da95d
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
| 225 | + | |
225 | 226 |
| |
226 | 227 |
| |
227 |
| - | |
228 |
| - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
229 | 239 |
| |
230 | 240 |
| |
231 | 241 |
| |
|
0 commit comments
Comments
(0)