mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Add a patch to build 2.15 for ARM
Fix from upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
cc3432c4d6
commit
4ccbf49d11
19
patches/glibc/ports-2.15/091-libmemusage-link-failure.patch
Normal file
19
patches/glibc/ports-2.15/091-libmemusage-link-failure.patch
Normal file
@ -0,0 +1,19 @@
|
||||
commit 2d80bda39073a35af4b904d27fa1511cd309b26f
|
||||
Author: Nathan Sidwell <nathan@codesourcery.com>
|
||||
Date: Fri Jan 6 20:14:44 2012 +0000
|
||||
|
||||
Add ARM dependency of libmemusage.so on libc_nonshared.a.
|
||||
|
||||
diff --git a/ports/sysdeps/arm/Makefile b/ports/sysdeps/arm/Makefile
|
||||
index 5651161..1a88430 100644
|
||||
--- a/ports/sysdeps/arm/Makefile
|
||||
+++ b/ports/sysdeps/arm/Makefile
|
||||
@@ -7,3 +7,8 @@ endif
|
||||
ifeq ($(subdir),csu)
|
||||
gen-as-const-headers += tlsdesc.sym
|
||||
endif
|
||||
+
|
||||
+# to pull in __aeabi_read_tp, needed for tls
|
||||
+ifeq ($(subdir),malloc)
|
||||
+$(objpfx)libmemusage.so: $(common-objpfx)libc_nonshared.a
|
||||
+endif
|
Loading…
Reference in New Issue
Block a user