summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--src/commands.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 5f71f54ae..4338d2963 100755
--- a/configure
+++ b/configure
@@ -307,11 +307,11 @@ sub dir_check {
sub getosflags {
if ($config{OSNAME} eq "FreeBSD") {
$config{LDLIBS} = "-Ldl";
- $config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Woverloaded-virtual";
+ $config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Woverloaded-virtual -g";
$config{MAKEPROG} = "gmake";
} else {
$config{LDLIBS} = "-ldl";
- $config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Woverloaded-virtual";
+ $config{FLAGS} = "-fPIC -frtti $OPTIMISATI -Woverloaded-virtual -g";
$config{MAKEPROG} = "make";
}
}
diff --git a/src/commands.cpp b/src/commands.cpp
index a50fdf666..16864b0a7 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1597,6 +1597,7 @@ int operstrcmp(char* data,char* input)
{
int MOD_RESULT = 0;
FOREACH_RESULT(OnOperCompare(data,input))
+ log(DEBUG,"operstrcmp: %d",MOD_RESULT);
if (MOD_RESULT == 1)
return 0;
if (MOD_RESULT == -1)