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