changeset 1902:a21e391a5490

target depend should use ${CFLAGS} otherwise it will miss installed headers.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 27 Sep 2007 12:00:45 +0900
parents fa2a37d3f7a2
children 5c01978673ca
files buildsys.mk.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Thu Sep 27 09:44:16 2007 +0900
+++ b/buildsys.mk.in	Thu Sep 27 12:00:45 2007 +0900
@@ -101,7 +101,7 @@
 				;; \
 			esac; \
 		done; \
-		if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
+		if ${CPP} ${CPPFLAGS} ${CFLAGS} -M $$list >.deps; then \
 			${DEPEND_OK}; \
 		else \
 			${DEPEND_FAILED}; \