summaryrefslogtreecommitdiff
path: root/package/syslinux/patches/patch-MCONFIG
blob: fec7d2644bb58380e2e1a9977eb5c6531db342de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- syslinux-4.03.orig/MCONFIG	2010-10-20 21:25:38.000000000 +0200
+++ syslinux-4.03/MCONFIG	2011-01-22 00:19:37.688658635 +0100
@@ -39,14 +39,14 @@ UPX	 = upx
 
 CHMOD	 = chmod
 
-CC	 = gcc
+CC	 ?= gcc
 gcc_ok   = $(shell tmpf=gcc_ok.$$$$.tmp; \
 		   if $(CC) $(GCCOPT) $(1) -c $(topdir)/dummy.c \
 			-o $$tmpf 2>/dev/null ; \
 		   then echo '$(1)'; else echo '$(2)'; fi; \
 		   rm -f $$tmpf)
 
-LD	 = ld
+LD	 ?= ld
 OBJDUMP	 = objdump
 OBJCOPY  = objcopy
 AR       = ar