Blame SOURCES/0026-gcc.specs-add-grecord-gcc-switches.patch

4e0e09
From a2ea4f82a036756978e54f6f604f65aa81869051 Mon Sep 17 00:00:00 2001
4e0e09
From: Peter Jones <pjones@redhat.com>
4e0e09
Date: Mon, 17 Jun 2019 14:00:05 -0400
4e0e09
Subject: [PATCH 26/63] gcc.specs: add -grecord-gcc-switches
4e0e09
4e0e09
Signed-off-by: Peter Jones <pjones@redhat.com>
4e0e09
---
4e0e09
 gcc.specs | 4 ++--
4e0e09
 1 file changed, 2 insertions(+), 2 deletions(-)
4e0e09
4e0e09
diff --git a/gcc.specs b/gcc.specs
4e0e09
index 45d43d11294..d06a8e096fc 100644
4e0e09
--- a/gcc.specs
4e0e09
+++ b/gcc.specs
4e0e09
@@ -8,10 +8,10 @@
4e0e09
 + %(efivar_cpp_options)
4e0e09
 
4e0e09
 *cc1_options:
4e0e09
-+ %(efivar_cpp_options) -Wmaybe-uninitialized -fno-merge-constants -fvisibility=hidden %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}}
4e0e09
++ %(efivar_cpp_options) -Wmaybe-uninitialized -fno-merge-constants -fvisibility=hidden %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} -grecord-gcc-switches
4e0e09
 
4e0e09
 *self_spec:
4e0e09
-+ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,relro,-z,now}
4e0e09
++ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
4e0e09
 
4e0e09
 *link:
4e0e09
 + %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%
4e0e09
-- 
4e0e09
2.26.2
4e0e09