1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Do not invoke the compiler with -O0.
Even though we build kakoune in its "debug" mode to generate
debug symbols, we do not want its build infrastructure to
override the compiler flags set by dpkg-buildpackage in
accordance to way the Debian package is being built.
.
Disabling the compiler optimizations also has the unfortunate
side effect of disabling the build harderning, so we really
do not want it to happen.
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2020-04-28
--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,7 @@
ifeq ($(debug),yes)
CPPFLAGS += -DKAK_DEBUG
- CXXFLAGS += -O0
+# CXXFLAGS += -O0
suffix := .debug
else
ifeq ($(debug),no)
|