diff options
| author | Mark Shinwell <mshinwell@gmail.com> | 2017-05-16 20:58:23 +0100 |
|---|---|---|
| committer | David Allsopp <david.allsopp@metastack.com> | 2017-05-16 20:58:23 +0100 |
| commit | 0bf66ce0e1f7669e882de93796a87527d0c8db46 (patch) | |
| tree | a6a05be4cf97bd336e0fef8d6f692ff538f280e1 /configure | |
| parent | 65a492d23522140e7766428b00b8d7c8446ec1cc (diff) | |
| download | ocaml-0bf66ce0e1f7669e882de93796a87527d0c8db46.tar.gz | |
Suppress trigraph warnings from macOS assembler (#1093)
Also check that trigraphs aren't interpreted
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -958,8 +958,8 @@ asppprofflags='-DPROFILING' case "$arch,$system" in amd64,macosx) if sh ./searchpath clang; then - as='clang -arch x86_64 -c' - aspp='clang -arch x86_64 -c' + as='clang -arch x86_64 -Wno-trigraphs -c' + aspp='clang -arch x86_64 -Wno-trigraphs -c' else as="${TOOLPREF}as -arch x86_64" aspp="${TOOLPREF}gcc -arch x86_64 -c" @@ -987,7 +987,7 @@ case "$arch,$system" in as="${TOOLPREF}as" case "$ccfamily" in clang-*) - aspp="${TOOLPREF}clang -c" + aspp="${TOOLPREF}clang -c -Wno-trigraphs" ;; *) aspp="${TOOLPREF}gcc -c" |
