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

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