From: Martin Mares Date: Thu, 2 Mar 2006 17:11:52 +0000 (+0100) Subject: gcc-4.1 should so far use the the same switches as 4.0. X-Git-Tag: holmes-import~667 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5ddf954ceeda24e3dd9f3dccbd5f43b3433b4200;p=libucw.git gcc-4.1 should so far use the the same switches as 4.0. --- diff --git a/lib/autoconf.cfg b/lib/autoconf.cfg index 3c81f034..668c83ea 100644 --- a/lib/autoconf.cfg +++ b/lib/autoconf.cfg @@ -151,7 +151,7 @@ if ($gccver == 3000) { } elsif ($gccver == 3004) { Append("CWARNS" => "-Wundef -Wredundant-decls"); Append("COPT" => "-finline-limit=2000 --param large-function-insns=5000 --param inline-unit-growth=200 --param large-function-growth=400"); -} elsif ($gccver == 4000) { +} elsif ($gccver == 4000 || $gccver == 4001) { Append("CWARNS" => "-Wundef -Wredundant-decls -Wno-pointer-sign -Wdisabled-optimization -Wno-missing-field-initializers"); Append("CWARNS_OFF" => "-Wno-pointer-sign"); Append("COPT" => "-finline-limit=5000 --param large-function-insns=5000 --param inline-unit-growth=200 --param large-function-growth=400");