Displaying 1 result from an estimated 1 matches for "87079a5".
Did you mean:
370795
2010 Mar 15
1
host cross-compile patch
...E=i686-nptl-linux-gnu-).
I'm not sure if patches should be attached or just pasted inline so I
did both this time. BTW, it's relative to syslinux 4 but the same
changes work with syslinux 3 although the patch won't apply cleanly.
don
-------------
diff --git a/MCONFIG b/MCONFIG
index 87079a5..6c5a164 100644
--- a/MCONFIG
+++ b/MCONFIG
@@ -39,19 +39,23 @@ UPX = upx
CHMOD = chmod
-CC = gcc
+# Pass cross-compiler tuple to make,
+# e.g. make CROSS_COMPILE=i686-nptl-linux-gnu-
+CROSS_COMPILE ?=
+CC = $(CROSS_COMPILE)gcc
+
gcc_ok = $(shell tmpf=gcc_ok.$$$$.tmp; \
if $(CC) $(...