diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:39:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:39:10 +0000 |
commit | f34b16edd722879f9010c219a377ac24214d122c (patch) | |
tree | 36f635bd77f2d5d4c3840998fe33ee3b42cbf404 /configure | |
parent | cd9b790e48fabd887a9af855dbd85929ebcbbd62 (diff) |
And fix it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8326 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1286,21 +1286,21 @@ all: \$(MODULES) EOF -$nicerflags = $options{FLAGS}; +$nicerflags = $config{FLAGS}; $nicerflags =~ s/\-pedantic//g; if ($config{OSNAME} =~ /darwin/) { print FILEHANDLE <<EOCHEESE; PICLDFLAGS = -twolevel_namespace -undefined dynamic_lookup \$(FLAGS) -bundle -NICERFLAGS = $nicerflags +LAMEFLAGS = $nicerflags EOCHEESE } else { print FILEHANDLE <<EOCHEESE; PICLDFLAGS = -fPIC -DPIC -shared \$(FLAGS) -NICERFLAGS = $nicerflags +LAMEFLAGS = $nicerflags EOCHEESE } @@ -1325,11 +1325,11 @@ EOCHEESE if (nopedantic("src/modules/m_".$i.".cpp")) { - $fl = "\$(FLAGS)"; + $fl = "\$(LAMEFLAGS)"; } else { - $fl = "\$(LAMEFLAGS)"; + $fl = "\$(FLAGS)"; } #print "file: $i: cmflags=$cmflags; liflags=$liflags; deps=$deps\n"; |