diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-19 01:35:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-19 01:35:11 +0000 |
commit | cc563ef8eca8ea1fb367ba80b993c0ab524adf71 (patch) | |
tree | 24e15da3776a414e671de2bd3bb762c5ea97a536 /configure | |
parent | 754a1a4b88fd8e7b68ded73b87cf50ebea94883c (diff) |
Apply CXXFLAGS patch from darix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5774 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } |