|
| From: | Michael Tokarev |
| Subject: | Re: [PATCH] meson: remove -no-pie linker flag |
| Date: | Tue, 23 May 2023 10:52:27 +0300 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
22.05.2023 18:54, Richard Henderson wrote: ..
-no-pie is a linker flag, but distro folk that didn't quite know what they were doing made local changes to gcc's specs file. So it *is* a compiler command-line flag, but only for some builds of gcc.
Which distros is that? Debian? Patching gcc spec file like this - if that's true - is a way to disaster, and should be stopped. Thanks, /mjt
We can't just remove -no-pie, we need to probe for it as cc.get_supported_arguments instead of cc.get_supported_link_arguments. Or something. It's a mess, for sure. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |