Commit 5daef09d authored by David Lawrence's avatar David Lawrence
Browse files

use EXT_CFLAGS to pass -Wno-builtin to gcc, allowing missing prototypes for

functions that have builtins to be properly noticed.
parent 9752cb7a
...@@ -249,6 +249,12 @@ comment on the same line as the #include. ...@@ -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("", ".");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment