Subject: Re: bug#24720: Performance impact of -no-pie

From: Glenn Morris <[email-masked]>
Date: Tue, 18 Oct 2016 11:59:15 -0400

All that adding -no-pie does is restore the old default behaviour.
It therefore makes no sense for it to cause a slowdown.
I'm going to guess that when you set it via CFLAGS, you lost the -O2
that is otherwise part of the default CFLAGS. M-x report-emacs-bug
includes information that would probably have made this obvious from the
outset. Check the setting of CFLAGS in src/Makefile.