diff options
Diffstat (limited to 'meta/recipes-devtools/syslinux/files')
-rw-r--r-- | meta/recipes-devtools/syslinux/files/cross-build.patch | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/syslinux/files/cross-build.patch b/meta/recipes-devtools/syslinux/files/cross-build.patch index c90c7afbaf..8115629fe9 100644 --- a/meta/recipes-devtools/syslinux/files/cross-build.patch +++ b/meta/recipes-devtools/syslinux/files/cross-build.patch | |||
@@ -10,6 +10,10 @@ also AUXDIR stays in $(LIBDIR)/syslinux rather than $(DATADIR)/syslinux | |||
10 | 10 | ||
11 | 07/08/2010 - qhe | 11 | 07/08/2010 - qhe |
12 | 12 | ||
13 | updated for 4.03 | ||
14 | |||
15 | 11/16/2010 - Qing He <qing.he@intel.com> | ||
16 | |||
13 | --- | 17 | --- |
14 | diff --git a/MCONFIG b/MCONFIG | 18 | diff --git a/MCONFIG b/MCONFIG |
15 | index e9c16d3..4d49f33 100644 | 19 | index e9c16d3..4d49f33 100644 |
@@ -43,7 +47,8 @@ index e9c16d3..4d49f33 100644 | |||
43 | -CC = gcc | 47 | -CC = gcc |
44 | +CC ?= gcc | 48 | +CC ?= gcc |
45 | gcc_ok = $(shell tmpf=gcc_ok.$$$$.tmp; \ | 49 | gcc_ok = $(shell tmpf=gcc_ok.$$$$.tmp; \ |
46 | if $(CC) $(1) -c $(topdir)/dummy.c -o $$tmpf 2>/dev/null ; \ | 50 | if $(CC) $(GCCOPT) $(1) -c $(topdir)/dummy.c \ |
51 | -o $$tmpf 2>/dev/null ; \ | ||
47 | then echo '$(1)'; else echo '$(2)'; fi; \ | 52 | then echo '$(1)'; else echo '$(2)'; fi; \ |
48 | rm -f $$tmpf) | 53 | rm -f $$tmpf) |
49 | 54 | ||