aboutsummaryrefslogtreecommitdiff
path: root/devel/efivar/files/patch-src_include_gcc.specs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/efivar/files/patch-src_include_gcc.specs')
-rw-r--r--devel/efivar/files/patch-src_include_gcc.specs8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/efivar/files/patch-src_include_gcc.specs b/devel/efivar/files/patch-src_include_gcc.specs
new file mode 100644
index 000000000000..388f3d9e22cd
--- /dev/null
+++ b/devel/efivar/files/patch-src_include_gcc.specs
@@ -0,0 +1,8 @@
+--- src/include/gcc.specs.orig 2024-01-31 20:08:46 UTC
++++ src/include/gcc.specs
+@@ -5,4 +5,4 @@ + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fa
+ + %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
+
+ *link:
+-+ %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%<pie}
+++ %{!static:--fatal-warnings} --no-undefined-version -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%<pie}