From 287f360b3e75a19c48ee14c71f51b6e7968474ef Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 2 Apr 2025 11:05:08 +0200 Subject: [PATCH] libstdc++, nvptx: Remove machinery to inject per-file flags Not used anymore. libstdc++-v3/ * config/cpu/nvptx/t-nvptx: Remove. * configure.host [nvptx]: Adjust. --- libstdc++-v3/config/cpu/nvptx/t-nvptx | 1 - libstdc++-v3/configure.host | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 libstdc++-v3/config/cpu/nvptx/t-nvptx diff --git a/libstdc++-v3/config/cpu/nvptx/t-nvptx b/libstdc++-v3/config/cpu/nvptx/t-nvptx deleted file mode 100644 index eacc5468d62..00000000000 --- 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 0bed9dfff95..8375764bf4d 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" -- 2.47.2