]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++, nvptx: Remove machinery to inject per-file flags
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 2 Apr 2025 09:05:08 +0000 (11:05 +0200)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 17 Apr 2025 07:34:16 +0000 (09:34 +0200)
Not used anymore.

libstdc++-v3/
* config/cpu/nvptx/t-nvptx: Remove.
* configure.host [nvptx]: Adjust.

(cherry picked from commit 287f360b3e75a19c48ee14c71f51b6e7968474ef)

libstdc++-v3/ChangeLog.omp
libstdc++-v3/config/cpu/nvptx/t-nvptx [deleted file]
libstdc++-v3/configure.host

index dd14652de22b8d33898a5597e31be2e34f004c93..daca152e84a5bf6466876dad361401ea9db93d08 100644 (file)
@@ -3,6 +3,12 @@
        Backported from trunk:
        2025-04-03  Thomas Schwinge  <tschwinge@baylibre.com>
 
+       * config/cpu/nvptx/t-nvptx: Remove.
+       * configure.host [nvptx]: Adjust.
+
+       Backported from trunk:
+       2025-04-03  Thomas Schwinge  <tschwinge@baylibre.com>
+
        PR target/119573
        * config/cpu/nvptx/t-nvptx (AM_MAKEFLAGS): Don't amend.
 
diff --git a/libstdc++-v3/config/cpu/nvptx/t-nvptx b/libstdc++-v3/config/cpu/nvptx/t-nvptx
deleted file mode 100644 (file)
index eacc546..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# Per-file flags, see '../../../configure.host', "inject per-file flags".
index 0bed9dfff9576f15bf90a9137034b5217eb6be7e..8375764bf4dcffa587a62f3f5b40f3cc382e58ea 100644 (file)
@@ -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"