aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2025-04-02 11:05:08 +0200
committerThomas Schwinge <tschwinge@baylibre.com>2025-04-03 23:23:06 +0200
commit287f360b3e75a19c48ee14c71f51b6e7968474ef (patch)
treeb9270cb3fd01f46a58ebf9bd266db4d1a95b9683
parent5deeae29dab2af64e3342daf7a30000e424c64ea (diff)
downloadgcc-287f360b3e75a19c48ee14c71f51b6e7968474ef.zip
gcc-287f360b3e75a19c48ee14c71f51b6e7968474ef.tar.gz
gcc-287f360b3e75a19c48ee14c71f51b6e7968474ef.tar.bz2
libstdc++, nvptx: Remove machinery to inject per-file flags
Not used anymore. libstdc++-v3/ * config/cpu/nvptx/t-nvptx: Remove. * configure.host [nvptx]: Adjust.
-rw-r--r--libstdc++-v3/config/cpu/nvptx/t-nvptx1
-rw-r--r--libstdc++-v3/configure.host5
2 files changed, 0 insertions, 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 eacc546..0000000
--- 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 0bed9df..8375764 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"