]> mj.ucw.cz Git - libucw.git/commitdiff
Configure: Turned off -Winline
authorMartin Mares <mj@ucw.cz>
Wed, 18 Jul 2012 12:15:26 +0000 (14:15 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Jul 2012 12:15:26 +0000 (14:15 +0200)
Recent versions of GCC perform inlining reasonably well, no need to warn.

ucw/perl/UCW/Configure/C.pm

index 0143c31d136b23e2dc67888f8e8372680f7d2612..f6c1da5ac84eb4f4252e4bf69affd8a5385f8f1c 100644 (file)
@@ -108,7 +108,7 @@ if ($arch =~ /^(i386|amd64)$/ && Get("CONFIG_EXACT_CPU")) {
 Set("COPT2" => '-O3');
 
 # Warnings
-Set("CWARNS" => '-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline');
+Set("CWARNS" => '-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes');
 Set("CWARNS_OFF" => '');
 
 # Linker flags