diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-23 11:55:32 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-23 12:11:58 +0100 |
| commit | 5bae609333f51c0fcf47ec4bb808fe382325ee03 (patch) | |
| tree | 015143a81038061674dbe1fd681b5fee4d888c1d /configure | |
| parent | 749e72dcdae7ce8eb0c2bb47fd12aadaf4405e96 (diff) | |
| download | vis-5bae609333f51c0fcf47ec4bb808fe382325ee03.tar.gz vis-5bae609333f51c0fcf47ec4bb808fe382325ee03.tar.xz | |
configure: default to cc instead of c99
Using -std=c99 in combination with c99 does not make sense.
Some versions of Mac OS seem to have a broken wrapper implementing
the c99 utility which always generates 32-bit code instead of
targeting the native architecture.
http://stackoverflow.com/questions/4182413
Also add clang to the list of compilers to try.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,9 +176,9 @@ trap 'rm -f "$tmpc" "$tmpo"' EXIT INT QUIT TERM HUP # Find a C compiler to use # printf "checking for C compiler... " -trycc c99 trycc cc trycc gcc +trycc clang printf "%s\n" "$CC" test -n "$CC" || { echo "$0: cannot find a C compiler" ; exit 1 ; } |
