diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | make/utilities.pm | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -144,11 +144,11 @@ if (defined $opt_use_openssl) $config{OPTIMITEMP} = "0"; # Default Optimisation Value if (!defined $opt_disable_debug) { - $config{OPTIMISATI} = "-g"; # Optimisation Flag + $config{OPTIMISATI} = "-O2 -g1"; # Optimisation Flag } else { - $config{OPTIMISATI} = ""; # DEBUGGING OFF! + $config{OPTIMISATI} = "-O2"; # DEBUGGING OFF! } $config{NICK_LENGT} = "31"; # Default Nick Length 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 |