- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 2ba573c9763329fbfdfacc8393d565ab747cac4d Mon Sep 17 00:00:00 2001
|
|
From: Brett Warren <brett.warren@arm.com>
|
|
Date: Wed, 23 Sep 2020 09:27:34 +0100
|
|
Subject: [PATCH 2/4] optee: enable clang support
|
|
|
|
When compiling with clang, the LIBGCC_LOCATE_CFLAG variable used
|
|
to provide a sysroot wasn't included, which results in not locating
|
|
compiler-rt. This is mitigated by including the variable as ammended.
|
|
|
|
Upstream-Status: Pending
|
|
ChangeId: 8ba69a4b2eb8ebaa047cb266c9aa6c2c3da45701
|
|
Signed-off-by: Brett Warren <brett.warren@arm.com>
|
|
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
|
|
---
|
|
|
|
mk/clang.mk | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/mk/clang.mk b/mk/clang.mk
|
|
index a045beee8..1ebe2f702 100644
|
|
--- a/mk/clang.mk
|
|
+++ b/mk/clang.mk
|
|
@@ -30,7 +30,7 @@ comp-cflags-warns-clang := -Wno-language-extension-token \
|
|
|
|
# Note, use the compiler runtime library (libclang_rt.builtins.*.a) instead of
|
|
# libgcc for clang
|
|
-libgcc$(sm) := $(shell $(CC$(sm)) $(CFLAGS$(arch-bits-$(sm))) \
|
|
+libgcc$(sm) := $(shell $(CC$(sm)) $(LIBGCC_LOCATE_CFLAGS) $(CFLAGS$(arch-bits-$(sm))) \
|
|
-rtlib=compiler-rt -print-libgcc-file-name 2> /dev/null)
|
|
|
|
# Core ASLR relies on the executable being ready to run from its preferred load
|
|
--
|
|
2.43.2
|
|
|