mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
use EXT_CFLAGS to pass -Wno-builtin to gcc, allowing missing prototypes for
functions that have builtins to be properly noticed.
This commit is contained in:
parent
9752cb7aa6
commit
5daef09d45
@ -249,6 +249,12 @@ comment on the same line as the #include.
|
||||
================================================================
|
||||
EOF
|
||||
|
||||
# XXX gcc-specific
|
||||
# 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";
|
||||
|
||||
do_dir("", ".");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user