aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-04-17 23:46:08 +0100
committerH. Peter Anvin <hpa@zytor.com>2008-04-17 22:09:17 -0400
commit16983e80939790e598656c1d91c24e7069feec34 (patch)
tree23aa407b98ad945565216f65f0bbbf7f9d73b0d4
parentb84b154020dbd165abad9ff7010ea400210ef2a7 (diff)
downloadsyslinux-elf-16983e80939790e598656c1d91c24e7069feec34.tar.gz
syslinux-elf-16983e80939790e598656c1d91c24e7069feec34.tar.xz
syslinux-elf-16983e80939790e598656c1d91c24e7069feec34.zip
syslinux 3.63: Use $(CC) for examining compiler options
Following changes to other Makefiles use $(CC) for examining compiler options here as well.
-rw-r--r--com32/lib/MCONFIG2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index 7f88055a..e9b29412 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -2,7 +2,7 @@
TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
-gcc_ok = $(shell tmpf=$(TMPFILE); if gcc $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
+gcc_ok = $(shell tmpf=$(TMPFILE); if $(CC) $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
then echo $(1); else echo $(2); fi; rm -f $$tmpf)
GCCOPT := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)