mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
-fno-builtin, not -Wno-builtin, and put it in CFLAGS
This commit is contained in:
@@ -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('', <COMPILE>);
|
||||
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("", ".");
|
||||
}
|
||||
|
Reference in New Issue
Block a user