From 17b1bcca21624757189a619506e93b42f4706b77 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 18 Jul 2012 14:15:26 +0200 Subject: [PATCH] Configure: Turned off -Winline Recent versions of GCC perform inlining reasonably well, no need to warn. --- ucw/perl/UCW/Configure/C.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2