mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
- sources are now hosted on Github - ficl have its own LICENSE file - remove one upstreamed patch - support only static lib - requires C11 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Julien Olivain <ju.o@free.fr>
42 lines
1.7 KiB
Diff
42 lines
1.7 KiB
Diff
From 33b16f2c4f996a98c3bbbec9af542d020ac276fa Mon Sep 17 00:00:00 2001
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Date: Tue, 9 Aug 2022 23:53:06 +0200
|
|
Subject: [PATCH] Makefile.linux: pass LDFLAGS
|
|
|
|
Pass LDFLAGS to avoid the following musl static build failure:
|
|
|
|
/home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sh4eb-buildroot-linux-musl/11.3.0/../../../../sh4eb-buildroot-linux-musl/bin/ld: /home/autobuild/autobuild/instance-5/output-1/host/lib/gcc/sh4eb-buildroot-linux-musl/11.3.0/libgcc.a(unwind-dw2.o): in function `size_of_encoded_value':
|
|
/home/autobuild/autobuild/instance-5/output-1/build/host-gcc-final-11.3.0/build/sh4eb-buildroot-linux-musl/libgcc/../../../libgcc/unwind-pe.h:89: undefined reference to `abort'
|
|
|
|
Fixes:
|
|
- http://autobuild.buildroot.org/results/bf041723ed813746c61892262630a3ac2bc43b14
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Upstream: upstream is dead
|
|
[Dario: make the patch to be applied with fuzz factor 0]
|
|
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
|
[francois: downgrade to 3.03]
|
|
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
|
[francois: upgrade to 3.065]
|
|
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
|
---
|
|
makefile.linux | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/makefile.linux b/makefile.linux
|
|
index 1e467ea..fad7059 100755
|
|
--- a/makefile.linux
|
|
+++ b/makefile.linux
|
|
@@ -26,7 +26,7 @@ libficl.a: $(OBJECTS)
|
|
|
|
# === Console Test executable ===
|
|
ficl: $(FICL_TEST_OBJ) ficl.h sysdep.h libficl.a
|
|
- $(CC) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
|
|
+ $(CC) $(LDFLAGS) $(FICL_TEST_OBJ) -o ficl -L. -lficl -lm
|
|
|
|
# === Compile rules ===
|
|
.SUFFIXES: .cxx .cc .c .o
|
|
--
|
|
2.35.1
|
|
|