From 8d61a07f5e31a3377c4a7551909705195a2bda3b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 17:51:20 +0000 Subject: Fix CSTD. --- mk/cc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/cc.mk b/mk/cc.mk index 9bfd123..3809160 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -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; \ -- cgit v1.2.3