summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2013-06-24 08:17:30 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2013-06-24 08:17:30 +0000
commitbfc08c41ac99e353788893ce7426178d94ee4cb7 (patch)
tree3ec01cbbf06567d5b176cec0618b7dbcb4617524 /configure
parent034351e37b2ef0437f6eb41381ac63cd62411e66 (diff)
PR#6049: support for OpenBSD/macppc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13835 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index d721aa466..f9ebbd0e8 100755
--- a/configure
+++ b/configure
@@ -690,6 +690,7 @@ case "$host" in
i[3456]86-*-gnu*) arch=i386; system=gnu;;
powerpc*-*-linux*) arch=power; model=ppc; system=elf;;
powerpc-*-netbsd*) arch=power; model=ppc; system=elf;;
+ powerpc-*-openbsd*) arch=power; model=ppc; system=bsd_elf;;
powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
powerpc-*-darwin*) arch=power; system=rhapsody
if $arch64; then model=ppc64; else model=ppc; fi;;
@@ -767,7 +768,7 @@ case "$arch,$model,$system" in
aspp='gcc -c';;
power,*,elf) as='as -u -m ppc'
aspp='gcc -c';;
- power,*,bsd) as='as'
+ power,*,bsd*) as='as'
aspp='gcc -c';;
power,*,rhapsody) as="as -arch $model"
aspp="$bytecc -c";;