aboutsummaryrefslogtreecommitdiff
path: root/mk/debug.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/debug.mk')
-rw-r--r--mk/debug.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/debug.mk b/mk/debug.mk
index d4b959f7..4008efa1 100644
--- a/mk/debug.mk
+++ b/mk/debug.mk
@@ -4,7 +4,7 @@
_RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac
_RC_DEBUG!= ${_RC_DEBUG_SH}
-CFLAGS+= ${_RC_DEBUG}$(shell ${_RC_DEBUG_SH})
+CPPFLAGS+= ${_RC_DEBUG}$(shell ${_RC_DEBUG_SH})
# Should we enable this with a different flag?
_LD_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-Wl,--rpath=../librc -Wl,--rpath=../libeinfo";; esac