diff options
author | Roy Marples <roy@marples.name> | 2008-02-19 17:51:20 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-19 17:51:20 +0000 |
commit | 8d61a07f5e31a3377c4a7551909705195a2bda3b (patch) | |
tree | 1c2e027a08cd1ae84eab5d449894b17709e32b61 /mk | |
parent | 42dd9965ccfbbdd93a1edb996d5bf8b77e3dc940 (diff) |
Fix CSTD.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/cc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ CFLAGS?= -O2 -pipe CSTD?= c99 _CSTD_SH= if test -n "${CSTD}"; then echo "-std=${CSTD}"; else echo ""; fi _CSTD!= ${_CSTD_SH} -CFLAGS+= ${_CSTD}$(shell _CSTD_SH) +CFLAGS+= ${_CSTD}$(shell ${_CSTD_SH}) # GNU Make way of detecting gcc flags we can use check_gcc=$(shell if ${CC} $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ |