From: Martin Mares Date: Wed, 18 Jul 2012 12:15:26 +0000 (+0200) Subject: Configure: Turned off -Winline X-Git-Tag: v5.99~136 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=17b1bcca21624757189a619506e93b42f4706b77;p=libucw.git Configure: Turned off -Winline Recent versions of GCC perform inlining reasonably well, no need to warn. --- diff --git a/ucw/perl/UCW/Configure/C.pm b/ucw/perl/UCW/Configure/C.pm index 0143c31d..f6c1da5a 100644 --- a/ucw/perl/UCW/Configure/C.pm +++ b/ucw/perl/UCW/Configure/C.pm @@ -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