Blame SOURCES/0012-dts.exp-use-usr-bin-gcc.patch

e60d6e
From c3910bb945aba02e0c06dec041da9f1f148b0df1 Mon Sep 17 00:00:00 2001
e60d6e
From: David Malcolm <dmalcolm@redhat.com>
e60d6e
Date: Thu, 2 Sep 2021 11:40:42 -0400
e60d6e
Subject: [PATCH 12/17] dts.exp: use /usr/bin/gcc
e60d6e
e60d6e
---
e60d6e
 libstdc++-v3/testsuite/lib/dts.exp | 4 ++--
e60d6e
 1 file changed, 2 insertions(+), 2 deletions(-)
e60d6e
e60d6e
diff --git a/libstdc++-v3/testsuite/lib/dts.exp b/libstdc++-v3/testsuite/lib/dts.exp
e60d6e
index 76ece66d3..dc5cf3e95 100644
e60d6e
--- a/libstdc++-v3/testsuite/lib/dts.exp
e60d6e
+++ b/libstdc++-v3/testsuite/lib/dts.exp
e60d6e
@@ -11,9 +11,9 @@
e60d6e
 
e60d6e
 proc get_dts_base_version { } {
e60d6e
 
e60d6e
-    # Invoke gcc in the PATH to get at the underlying GCC version
e60d6e
+    # Invoke /usr/bin/gcc to get at the underlying GCC version
e60d6e
     # in dotted form (e.g. "4.8.5").
e60d6e
-    set dotted_version [exec gcc -dumpversion]
e60d6e
+    set dotted_version [exec /usr/bin/gcc -dumpversion]
e60d6e
     verbose "dotted_version: '$dotted_version'" 2
e60d6e
 
e60d6e
     # Extract major, minor, patchlevel
e60d6e
-- 
e60d6e
2.31.1
e60d6e