mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 02:39:59 -04: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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Reference in a new issue