From 227f83163908a1e2bfb783a7500263f5c204cb36 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 28 May 2011 12:00:34 -0400 Subject: cc.mk: move debug.mk out of end Makefiles Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger --- mk/cc.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mk') diff --git a/mk/cc.mk b/mk/cc.mk index 4192b34..ceb82f1 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -31,3 +31,5 @@ _CC_FLAGS_SH= for f in ${_CCFLAGS}; do \ done; _CC_FLAGS:= $(shell ${_CC_FLAGS_SH}) CFLAGS+= ${_CC_FLAGS} + +include ${MK}/debug.mk -- cgit v1.2.3