summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLeo White <lpw25@cl.cam.ac.uk>2016-11-04 11:29:10 +0000
committerLeo White <lpw25@cl.cam.ac.uk>2017-01-10 10:12:17 +0000
commit709f5c76615691281daae4ecf220d192cc7da472 (patch)
treebd27ccaec028207ae4ef16ad9afa2a941a9f5e20 /configure
parent5ed72007f8185b2bd3c7a663abdcb1be5eaeee7c (diff)
downloadocaml-709f5c76615691281daae4ecf220d192cc7da472.tar.gz
Use -fno-builtin-memcmp with gcc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index aad65927fc..42b7684475 100755
--- a/configure
+++ b/configure
@@ -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";