From 5b657c3cf09db0f07626e6e86ab60aae55668f56 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 28 Jan 2007 17:37:09 +0000 Subject: Added 'make debug' which does 'make all' with -g rather than -O2 -g1. To correct your config for this new feature, ./configure -modupdate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6452 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 0faa2917e..ac814035b 100755 --- a/configure +++ b/configure @@ -844,6 +844,7 @@ sub getosflags { $config{LDLIBS} = "-lstdc++"; $config{FLAGS} = "-fno-strict-aliasing -fPIC -Wall -Woverloaded-virtual $config{OPTIMISATI}"; + $config{DEVELOPER} = "-fno-strict-aliasing -fPIC -Wall -Woverloaded-virtual -g"; $config{MAKEPROG} = "make"; if ($config{OSNAME} =~ /OpenBSD/i) { @@ -1077,6 +1078,7 @@ EOF $tmp =~ s/\@CC\@/$config{CC}/; $tmp =~ s/\@MAKEPROG\@/$config{MAKEPROG}/; $tmp =~ s/\@FLAGS\@/$config{FLAGS}/; + $tmp =~ s/\@DEVELOPER\@/$config{DEVELOPER}/; $tmp =~ s/\@LDLIBS\@/$config{LDLIBS}/; $tmp =~ s/\@BASE_DIR\@/$config{BASE_DIR}/; $tmp =~ s/\@CONFIG_DIR\@/$config{CONFIG_DIR}/; -- cgit v1.2.3