[arch-dev-public] Changing compilation flags

Evangelos Foutras evangelos at foutrelis.com
Wed Jul 5 09:36:46 UTC 2017

On 2 July 2017 at 19:19, Daniel Micay via arch-dev-public
<arch-dev-public at archlinux.org> wrote:
> Using -fno-plt would be a nice tiny little performance boost at runtime
> but then it's important to make sure everything is compiled with -Wl,-
> z,now and there might be programs ignoring LDFLAGS but respecting
> CFLAGS. Ideally -z now would be the default in the linker first. If we
> aren't going to patch the default, then I think a configure flag for
> that needs to land upstream.

It's also worth noting that clang does not support the -fno-plt option
and I couldn't find any discussions about adding support for it.

If it's only a tiny performance improvement, I strongly believe we
should skip it for now.

More information about the arch-dev-public mailing list