diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-07-15 12:44:21 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-07-15 12:44:21 +0000 |
commit | 00827e5c6d49b039fbfb70dbaf2323ded907d043 (patch) | |
tree | 5bda53f947895f8cd1aeb3d0bd13845f34ec7daf /lang/ocaml/patches | |
parent | 236354b86e502a75216ab5010c191252e8773286 (diff) | |
download | pkgsrc-00827e5c6d49b039fbfb70dbaf2323ded907d043.tar.gz |
Fix build on 32-bit SunOS with 64-bit native assembler.
Diffstat (limited to 'lang/ocaml/patches')
-rw-r--r-- | lang/ocaml/patches/patch-configure | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/ocaml/patches/patch-configure b/lang/ocaml/patches/patch-configure index 4c727286bf4..088f1b825c5 100644 --- a/lang/ocaml/patches/patch-configure +++ b/lang/ocaml/patches/patch-configure @@ -1,4 +1,4 @@ -$NetBSD: patch-configure,v 1.17 2016/07/13 15:01:42 jperkin Exp $ +$NetBSD: patch-configure,v 1.18 2016/07/15 12:44:21 jperkin Exp $ Several configure changes to work on and detect NetBSD (and some other OSes) See also: <http://caml.inria.fr/mantis/view.php?id=6900> @@ -98,11 +98,13 @@ See also: <http://caml.inria.fr/mantis/view.php?id=6900> power,gcc*,elf,ppc) partialld="ld -r -m elf32ppclinux";; power,gcc*,elf,ppc64) partialld="ld -r -m elf64ppc";; power,gcc*,elf,ppc64le) partialld="ld -r -m elf64lppc";; -@@ -913,7 +919,7 @@ case "$arch,$system" in +@@ -912,8 +918,8 @@ case "$arch,$system" in + fi;; amd64,solaris) as="${TOOLPREF}as --64" aspp="${TOOLPREF}gcc -m64 -c";; - i386,solaris) as="${TOOLPREF}as" +- i386,solaris) as="${TOOLPREF}as" - aspp="/usr/ccs/bin/${TOOLPREF}as -P";; ++ i386,solaris) as="${TOOLPREF}as --32" + aspp="gcc -m32 -c";; power,elf) if $arch64; then as="${TOOLPREF}as -a64 -mppc64" |