mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +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:
@@ -249,6 +249,12 @@ comment on the same line as the #include.
|
|||||||
================================================================
|
================================================================
|
||||||
EOF
|
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("", ".");
|
do_dir("", ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user