- 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)
31 lines
1022 B
Diff
31 lines
1022 B
Diff
From e5bc9fbd6029057a4e3815a5326af5bd83a450e6 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Mon, 7 Sep 2015 07:59:45 +0000
|
|
Subject: [PATCH] purgatory: Pass -r directly to linker
|
|
|
|
This helps compiling with clang since -r is not a known option for clang
|
|
where as gcc knows how to deal with it and passes it down to linker
|
|
unfiltered
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Upstream-Status: Pending
|
|
|
|
---
|
|
purgatory/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/purgatory/Makefile b/purgatory/Makefile
|
|
index 4d2d071..6673423 100644
|
|
--- a/purgatory/Makefile
|
|
+++ b/purgatory/Makefile
|
|
@@ -61,7 +61,7 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
|
|
-I$(shell $(CC) -print-file-name=include)
|
|
$(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
|
|
-Wl,--no-undefined -nostartfiles -nostdlib \
|
|
- -nodefaultlibs -e purgatory_start -r \
|
|
+ -nodefaultlibs -e purgatory_start -Wl,-r \
|
|
-Wl,-Map=$(PURGATORY_MAP)
|
|
|
|
$(PURGATORY): $(PURGATORY_OBJS)
|