https://gcc.gnu.org/g:287f360b3e75a19c48ee14c71f51b6e7968474ef
commit r15-9191-g287f360b3e75a19c48ee14c71f51b6e7968474ef Author: Thomas Schwinge <tschwi...@baylibre.com> Date: Wed Apr 2 11:05:08 2025 +0200 libstdc++, nvptx: Remove machinery to inject per-file flags Not used anymore. libstdc++-v3/ * config/cpu/nvptx/t-nvptx: Remove. * configure.host [nvptx]: Adjust. Diff: --- libstdc++-v3/config/cpu/nvptx/t-nvptx | 1 - libstdc++-v3/configure.host | 5 ----- 2 files changed, 6 deletions(-) diff --git a/libstdc++-v3/config/cpu/nvptx/t-nvptx b/libstdc++-v3/config/cpu/nvptx/t-nvptx deleted file mode 100644 index eacc5468d627..000000000000 --- a/libstdc++-v3/config/cpu/nvptx/t-nvptx +++ /dev/null @@ -1 +0,0 @@ -# Per-file flags, see '../../../configure.host', "inject per-file flags". diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 0bed9dfff957..8375764bf4dc 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -374,11 +374,6 @@ case "${host}" in port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver" ;; nvptx-*-none) - # For 'make all-target-libstdc++-v3', we need to inject per-file flags: - OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} \$(CXXFLAGS-\$(subdir)/\$@)" - # ..., see: - tmake_file="$tmake_file cpu/nvptx/t-nvptx" - # For 'make all-target-libstdc++-v3', re 'alloca'/VLA usage: EXTRA_CFLAGS="${EXTRA_CFLAGS} -mfake-ptx-alloca" OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} -mfake-ptx-alloca"