Use -fno-builtin-memcmp with gcc

master
Leo White 2016-11-04 11:29:10 +00:00
parent 5ed72007f8
commit 709f5c7661
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -393,7 +393,8 @@ case "$ccfamily" in
bytecccompopts="-std=gnu99 -O";
byteccprivatecompopts="$gcc_warnings";;
gcc-4-*)
bytecccompopts="-std=gnu99 -O2 -fno-strict-aliasing -fwrapv";
bytecccompopts="-std=gnu99 -O2 -fno-strict-aliasing -fwrapv \
-fno-builtin-memcmp";
byteccprivatecompopts="$gcc_warnings";;
gcc-*)
bytecccompopts="-O2 -fno-strict-aliasing -fwrapv";