From 33d187376d921e7ce46b347d87b7460333baf15f Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 24 Mar 2016 21:48:13 +0000 Subject: CCACHE_BUILD: Don't use ccache when generating some files with CC -E. At least for ncurses this fixes a build error due to it trying to run 'ccache --version' to work around a gcc 5 bug using the fix in r287205. Sponsored by: EMC / Isilon Storage Division --- bin/csh/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/csh') diff --git a/bin/csh/Makefile b/bin/csh/Makefile index deb6347..2c9ae22 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -140,7 +140,7 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} @echo '#ifndef _h_tc_const' >> ${.TARGET} @echo '#define _h_tc_const' >> ${.TARGET} - ${CC} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ + ${CC:N${CCACHE_BIN}} -E ${CFLAGS:C/-DHAVE_ICONV//} ${.ALLSRC} -D_h_tc_const | \ grep 'Char STR' | \ sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \ sort >> ${.TARGET} -- cgit v1.1