On Wed, 30 Jul 2025, John Ericson wrote: > My goal is to be able to build libgcc cleanly in isolation --- today one > needs to figure `make ...` misc things in the gcc subdir. > > Following Andrew Pinski's suggestions in > https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689683.html, this > commit moves the NO_PIE_CFLAGS logic. > > gcc/ChangeLog: > > * Makefile.in:: Remove NO_PIE_CFLAGS logic, since it is now in > libgcc. > * configure: Regenerate. > * configure.ac: Remove the enable_default_pie substitution, since > libgcc now has its own logic. > > libgcc/ChangeLog: > > * Makefile.in: Define NO_PIE_CFLAGS make variable via autoconf > substitution. > * configure: Regenerate. > * configure.ac: New configure check to define NO_PIE_CFLAGS > using the algorithm Andrew asked for in the linked mail.
OK in the absence of libgcc or build machinery maintainer objections within the next week. -- Joseph S. Myers josmy...@redhat.com