42 lines
1.9 KiB
Plaintext
42 lines
1.9 KiB
Plaintext
$OpenBSD: patch-configure,v 1.12 2010/06/04 13:58:18 avsm Exp $
|
|
--- configure.orig Tue Nov 17 14:28:44 2009
|
|
+++ configure Wed Jun 2 20:23:28 2010
|
|
@@ -648,9 +648,12 @@ case "$host" in
|
|
powerpc-*-netbsd*) arch=power; model=ppc; system=elf;;
|
|
powerpc-*-rhapsody*) arch=power; model=ppc; system=rhapsody;;
|
|
powerpc-*-darwin*) arch=power; system=rhapsody
|
|
- if $arch64; then model=ppc64; else model=ppc; fi;;
|
|
+ if $arch64; then model=ppc64; else
|
|
+ model=ppc; fi;;
|
|
+ powerpc-*-openbsd*) arch=power; model=ppc; system=bsd;;
|
|
arm*-*-linux*) arch=arm; system=linux;;
|
|
arm*-*-gnu*) arch=arm; system=gnu;;
|
|
+ zaurus*-*-openbsd*) arch=arm; system=openbsd;;
|
|
ia64-*-linux*) arch=ia64; system=linux;;
|
|
ia64-*-gnu*) arch=ia64; system=gnu;;
|
|
ia64-*-freebsd*) arch=ia64; system=freebsd;;
|
|
@@ -660,6 +663,7 @@ case "$host" in
|
|
x86_64-*-netbsd*) arch=amd64; system=netbsd;;
|
|
x86_64-*-openbsd*) arch=amd64; system=openbsd;;
|
|
x86_64-*-darwin9.5) arch=amd64; system=macosx;;
|
|
+ amd64-*-openbsd*) arch=amd64; system=openbsd;;
|
|
esac
|
|
|
|
# Some platforms exist both in 32-bit and 64-bit variants, not distinguished
|
|
@@ -750,11 +754,15 @@ if test -n "$asppoption"; then aspp="$asppoption"; fi
|
|
cc_profile='-pg'
|
|
case "$arch,$model,$system" in
|
|
alpha,*,digital) profiling='prof';;
|
|
+ alpha,*,openbsd) profiling='prof';;
|
|
i386,*,linux_elf) profiling='prof';;
|
|
i386,*,gnu) profiling='prof';;
|
|
i386,*,bsd_elf) profiling='prof';;
|
|
amd64,*,macosx) profiling='prof';;
|
|
i386,*,macosx) profiling='prof';;
|
|
+ amd64,*,openbsd) profiling='prof';;
|
|
+ power,*,bsd) profiling='prof';;
|
|
+ sparc,*,bsd) profiling='prof';;
|
|
sparc,*,solaris)
|
|
profiling='prof'
|
|
case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
|