1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/efivar/hotfix.patch.ia64
3 # Copyright (C) 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- efivar-38/src/include/gcc.specs.vanilla 2024-04-19 18:57:21.054428964 +0200
15 +++ efivar-38/src/include/gcc.specs 2024-04-19 18:57:34.428429521 +0200
17 + %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} -grecord-gcc-switches
20 -+ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,relro,-z,now} -grecord-gcc-switches
21 ++ %{!shared:%{!static:%{!r:-pie}}} %{static:-Wl,-no-fatal-warnings -Wl,-static -static -Wl,-z,now} -grecord-gcc-switches
24 -+ %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id %{!static:%{!shared:-pie}} %{shared:-z relro} %{static:%<pie}
25 ++ %{!static:--fatal-warnings} --no-undefined-version --no-allow-shlib-undefined --add-needed -z now --build-id %{!static:%{!shared:-pie}} %{static:%<pie}
26 --- efivar-38/src/include/defaults.mk.vanilla 2024-04-19 18:58:01.967430666 +0200
27 +++ efivar-38/src/include/defaults.mk 2024-04-19 18:58:06.901430871 +0200
29 -Wl,--no-undefined-version \
33 -Wl,--fatal-warnings \
34 $(call family,LDFLAGS) $(call family,CCLDFLAGS) \
35 $(call pkg-config-ccldflags)