aboutsummaryrefslogtreecommitdiff
path: root/mk/cc.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-28 12:00:34 -0400
committerMike Frysinger <vapier@gentoo.org>2011-05-28 12:00:34 -0400
commit227f83163908a1e2bfb783a7500263f5c204cb36 (patch)
treeedba046c08f8ea7c52d48df8144954aa582e5108 /mk/cc.mk
parent98d3b407fefeba04a143c53d4f5faf48acd0f665 (diff)
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 <vapier@gentoo.org>
Diffstat (limited to 'mk/cc.mk')
-rw-r--r--mk/cc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/cc.mk b/mk/cc.mk
index 4192b345..ceb82f19 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