]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
In answer to w00ts question, the channel might not exist, because of the following...
[user/henk/code/inspircd.git] / configure
index dc6e655ef8c94fa95bc366d8c3ef225525f41acd..28c1e9039d8bf02dae4a3f2f1afe10c08e3143f6 100755 (executable)
--- a/configure
+++ b/configure
@@ -1072,7 +1072,6 @@ sub getosflags {
        if ($config{OSNAME} =~ /BSD$/) {
                $config{LDLIBS} = "-lstdc++";
                $config{FLAGS}  = "-fno-strict-aliasing -fPIC -Wall -Woverloaded-virtual $config{OPTIMISATI}";
-               $config{FLAGS}  .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS});
                $config{MAKEPROG} = "gmake";
                if ($config{OSNAME} eq "OpenBSD") {
                        chomp($foo = `eg++ -dumpversion | cut -c 1`);
@@ -1106,6 +1105,7 @@ sub getosflags {
                        $config{STATIC_LINK} = "yes";
                        return "Cygwin-Static";
                }
+               $config{FLAGS}  .= " " . $ENV{CXXFLAGS} if exists($ENV{CXXFLAGS});
                return "Linux";
        }