From bb6ead0a9efa89123b6e1c5d9f3f3160f914dcfe Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 May 2000 03:02:29 +0000 Subject: [PATCH] -fno-builtin, not -Wno-builtin, and put it in CFLAGS --- util/check-sources.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/check-sources.pl b/util/check-sources.pl index 66423633da..3a4f999333 100644 --- a/util/check-sources.pl +++ b/util/check-sources.pl @@ -193,7 +193,7 @@ compile($) { my $output = $debug ? "/dev/tty" : "/dev/null"; - open(COMPILE, "make $obj 2>&1 >$output |"); + open(COMPILE, "make -e $obj 2>&1 >$output |"); my $stderr_lines = join('', ); print $stderr_lines if $debug; close(COMPILE); @@ -253,7 +253,7 @@ EOF # Disable builtin memcmp/memcpy/strcmp/strcpy/etc. When they are # available, gcc won't warn about the lack of a prototype in a header # file. - $ENV{'EXT_CFLAGS'} = "-Wno-builtin"; + $ENV{'CFLAGS'} = "-fno-builtin"; do_dir("", "."); }