From f9e38155c62df2eab9a8321626d5186d19d65094 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 21 Jan 2007 12:30:21 +0000 Subject: Fix library detection flags (bad define put into the ldflags) Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6419 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/utilities.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make') diff --git a/make/utilities.pm b/make/utilities.pm index 053fd9004..c5ba8e5e5 100644 --- a/make/utilities.pm +++ b/make/utilities.pm @@ -219,7 +219,8 @@ sub pkgconfig_get_lib_dirs($$$;$) $main::config{$key} =~ s/^\s+//g; $ret =~ s/^\s+//g; } - return "$ret -DVERSION_$libname=\"$v\""; + $ret =~ s/^\s+//g; + return $ret; } # Translate a $CompileFlags etc line and parse out function calls -- cgit v1.2.3