summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-10-18 15:08:30 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-10-18 15:08:38 +0100
commitbe93c5b3dd8972e46578c6d3532d3e50e4b1283f (patch)
treefa9ac6070124baa3df48ac772795eff0b87510f1 /sys-boot/aboot/files
parentwww-client/chromium: stable channel bump (62.0.3202.62) (diff)
downloadgentoo-be93c5b3dd8972e46578c6d3532d3e50e4b1283f.tar.gz
gentoo-be93c5b3dd8972e46578c6d3532d3e50e4b1283f.tar.bz2
gentoo-be93c5b3dd8972e46578c6d3532d3e50e4b1283f.zip
sys-boot/aboot: add basic cross-compilation support
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-boot/aboot/files')
-rw-r--r--sys-boot/aboot/files/aboot-respect-AR.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-boot/aboot/files/aboot-respect-AR.patch b/sys-boot/aboot/files/aboot-respect-AR.patch
new file mode 100644
index 000000000000..44e4a2a52063
--- /dev/null
+++ b/sys-boot/aboot/files/aboot-respect-AR.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/Makefile b/lib/Makefile
+index e3a2247..c137b53 100644
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -13,6 +13,6 @@ libaboot.a: vsprintf.o memcpy.o memset.o string.o _setjmp.o \
+ __remlu.o
+- ar cru $@ $?
++ $(AR) cru $@ $?
+ else
+ libaboot.a: isolib.o
+- ar cru $@ $?
++ $(AR) cru $@ $?
+ endif