diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2022-10-21 19:16:35 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2022-10-21 19:16:35 +0000 |
commit | 38e5270816330e4c717cc807ab44ce6383ba7b09 (patch) | |
tree | 36f89c567d6f1263612f3b9cd323d0ac6724bdf6 | |
parent | 8fa9af6b7db0b32035c57f96bdb8cae95d5d1c5a (diff) | |
download | pkgsrc-38e5270816330e4c717cc807ab44ce6383ba7b09.tar.gz |
Pullup ticket #6686 - requested by nia
lang/ocaml: evbarm build fix
Revisions pulled up:
- lang/ocaml/Makefile 1.146
---
Module Name: pkgsrc
Committed By: nia
Date: Sat Oct 8 11:11:16 UTC 2022
Modified Files:
pkgsrc/lang/ocaml: Makefile
Log Message:
ocaml: Needs imprecise-c99-float-ops to build on NetBSD/arm
-rw-r--r-- | lang/ocaml/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index afdbc42e565..eb6952347b6 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.145 2022/06/24 12:30:09 gdt Exp $ +# $NetBSD: Makefile,v 1.145.4.1 2022/10/21 19:16:35 bsiegert Exp $ .include "Makefile.common" @@ -27,7 +27,8 @@ BUILD_TARGET= world .endif # configure: error: fma does not work, enable emulation with --enable-imprecise-c99-float-ops -.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386" +.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || \ + !empty(MACHINE_PLATFORM:MNetBSD-*-earm*) CONFIGURE_ARGS+= --enable-imprecise-c99-float-ops .endif |