changeset 2105:f8dc3d94186d

Use ${CC} -M, not ${CPP} -M, as cpp is not required to respect -M, but gcc will always handle -M properly. Reported by Oliver Lehmann <oliver@freebsd.org>.
author William Pitcock <nenolod@atheme.org>
date Fri, 19 Oct 2007 06:24:08 -0500
parents da7a68f68116
children 4809787d9d5c 0d77ec0c71d4
files buildsys.mk.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Fri Oct 19 06:14:45 2007 -0500
+++ b/buildsys.mk.in	Fri Oct 19 06:24:08 2007 -0500
@@ -104,7 +104,7 @@
 			esac; \
 		done; \
 		if test x"$$list" != "x"; then \
-			if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
+			if ${CC} ${CPPFLAGS} -M $$list >.deps; then \
 				${DEPEND_OK}; \
 			else \
 				${DEPEND_FAILED}; \