]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/template/main.mk
Omit debug symbols when doing CI builds.
[user/henk/code/inspircd.git] / make / template / main.mk
index 9c7ee9449555b119072aba592e47ccc2aee27bb6..a41d35fca3b6e5c0f14d324b63a376520195a915 100644 (file)
@@ -109,6 +109,11 @@ ifeq ($(INSPIRCD_DEBUG), 2)
   HEADER = debug-header
   DBGOK=1
 endif
+ifeq ($(INSPIRCD_DEBUG), 3)
+  CORECXXFLAGS += -fno-rtti -O0 -g0
+  HEADER = std-header
+  DBGOK=1
+endif
 FOOTER = finishmessage
 
 MAKEFLAGS += --no-print-directory
@@ -280,6 +285,7 @@ help:
        @echo ' INSPIRCD_VERBOSE=1  Show the full command being executed instead of "BUILD: dns.cpp"'
        @echo ' INSPIRCD_DEBUG=1    Enable debug build, for module development or crash tracing'
        @echo ' INSPIRCD_DEBUG=2    Enable debug build with optimizations, for detailed backtraces'
+       @echo ' INSPIRCD_DEBUG=3    Enable fast build with no optimisations or symbols, for Travis CI'
        @echo ' DESTDIR=            Specify a destination root directory (for tarball creation)'
        @echo ' -j <N>              Run a parallel build using N jobs'
        @echo ''