]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/unit-cc.pl
Module API changes to use Membership* where sensible
[user/henk/code/inspircd.git] / make / unit-cc.pl
index 5110037ace2ce851c59980fb1b749aa05d1e3d8a..3a40457f2932a93b89171917cc274beefe9151e0 100755 (executable)
@@ -15,7 +15,8 @@ if ($file =~ /^-/) {
 
 my $out = shift;
 
-my $cflags = nopedantic($file) ? $ENV{NICEFLAGS} : $ENV{FLAGS};
+my $cflags = $ENV{CXXFLAGS};
+$cflags =~ s/ -pedantic// if nopedantic($file);
 $cflags .= ' ' . getcompilerflags($file);
 
 my $flags;