summaryrefslogtreecommitdiff
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-08-23 23:30:25 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-08-23 23:30:25 +0000
commitde6feefdb7cfd0779277a6c451ce19d60b1d2b4d (patch)
tree68ff7b1233c0fdc97050a4731640eaca6424c20b /share/mk/bsd.lib.mk
parent21e10b16e0f171aba26c2181e8ee74b92cd916e8 (diff)
downloadsrc-test2-de6feefdb7cfd0779277a6c451ce19d60b1d2b4d.tar.gz
src-test2-de6feefdb7cfd0779277a6c451ce19d60b1d2b4d.zip
Notes
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 3c6fb3812a00..40db23cc9337 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -69,8 +69,8 @@ TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \
empty(DEBUG_FLAGS:M-gdwarf*)
-SHARED_CFLAGS+= -g
-SHARED_CXXFLAGS+= -g
+CFLAGS+= ${DEBUG_FILES_CFLAGS}
+CXXFLAGS+= ${DEBUG_FILES_CFLAGS}
CTFFLAGS+= -g
.endif