summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-06-23 16:30:42 +1000
committerMaxime Coste <mawww@kakoune.org>2019-06-23 16:30:42 +1000
commita2fce67e9d50f9c37d13d13e1d504ed06e990510 (patch)
tree3da25731abbf534f1e393279f3d253acee3b2b31 /src
parent177f38afd1ea8441697abb5ce272459e7392bb52 (diff)
Put -Og flag in CXXFLAGS, not CPPFLAGS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index f7252026..d089ae27 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,7 +9,8 @@ ifneq ($(gzip_man),yes)
endif
ifeq ($(debug),yes)
- CPPFLAGS += -DKAK_DEBUG -Og
+ CPPFLAGS += -DKAK_DEBUG
+ CXXFLAGS + -Og
suffix := .debug
else
ifeq ($(debug),no)