1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/efivar/hotfix-clang.patch
3 # Copyright (C) 2023 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/defaults.mk.vanilla 2023-05-15 15:51:14.916952734 +0200
15 +++ efivar-38/src/include/defaults.mk 2023-05-15 15:51:25.400953491 +0200
18 $(call family,CFLAGS) \
19 $(call pkg-config-cflags)
20 -LDFLAGS_CLANG ?= -rtlib=compiler-rt
24 override _CCLDFLAGS := $(CCLDFLAGS)
26 HOST_CFLAGS ?= $(CFLAGS) $(call family,HOST_CFLAGS)
27 override _HOST_CFLAGS := $(HOST_CFLAGS)
28 override HOST_CFLAGS = $(_HOST_CFLAGS)
29 -HOST_LDFLAGS_CLANG ?= -Wl,--fatal-warnings,-z,relro -rtlib=compiler-rt
30 +HOST_LDFLAGS_CLANG ?= -Wl,--fatal-warnings,-z,relro
31 HOST_LDFLAGS_GCC ?= -Wl,--no-undefined-version