diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-04-17 23:46:08 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-04-17 22:09:17 -0400 |
commit | 16983e80939790e598656c1d91c24e7069feec34 (patch) | |
tree | 23aa407b98ad945565216f65f0bbbf7f9d73b0d4 | |
parent | b84b154020dbd165abad9ff7010ea400210ef2a7 (diff) | |
download | syslinux-16983e80939790e598656c1d91c24e7069feec34.tar.gz |
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/MCONFIG | 2 |
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,) |