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

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