diff options
author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-05-02 16:35:48 +0000 |
---|---|---|
committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-05-02 16:35:48 +0000 |
commit | d84f8be74c430d896f446d9ebf819568c1ab264c (patch) | |
tree | 7b04984759049d47a3ae933b7651c1c85a7c458a /configure | |
parent | f0b0c82b6fe9e54240eca39264ff9f0a4cacc948 (diff) | |
download | ocaml-d84f8be74c430d896f446d9ebf819568c1ab264c.tar.gz |
configure: fix as/aspp for FreeBSD (works for both gcc and clang)
(Patch by Andrew Ray)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14727 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -886,8 +886,10 @@ case "$arch,$system" in sparc,solaris) as="${TOOLPREF}as" case "$cc" in *gcc*) aspp="${TOOLPREF}gcc -c";; - *) aspp="${TOOLPREF}as -P";; + *) aspp="${TOOLPREF}as -P";; esac;; + *,freebsd) as="${TOOLPREF}as" + aspp="${TOOLPREF}cc -c";; amd64,*|arm,*|arm64,*|i386,*|power,bsd*|sparc,*) as="${TOOLPREF}as" aspp="${TOOLPREF}gcc -c";; |