diff options
author | obache <obache> | 2014-04-03 07:16:49 +0000 |
---|---|---|
committer | obache <obache> | 2014-04-03 07:16:49 +0000 |
commit | 13cb3fc288b22d33f475f880d1b149edcca52470 (patch) | |
tree | 8c51e263fba564ccdd04324d32fb7e283a1772ca /textproc/groonga | |
parent | a645c45be24856baa73625911d361085626d4b27 (diff) | |
download | pkgsrc-13cb3fc288b22d33f475f880d1b149edcca52470.tar.gz |
Change hack for clang with optimization.
unlimit datasize (require over 7GB memory on FreeBSD-10.0 (amd64).
Diffstat (limited to 'textproc/groonga')
-rw-r--r-- | textproc/groonga/hacks.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/groonga/hacks.mk b/textproc/groonga/hacks.mk index b88280208e4..9a7f6a57b42 100644 --- a/textproc/groonga/hacks.mk +++ b/textproc/groonga/hacks.mk @@ -1,14 +1,14 @@ -# $NetBSD: hacks.mk,v 1.1 2014/02/25 05:14:37 obache Exp $ +# $NetBSD: hacks.mk,v 1.2 2014/04/03 07:16:49 obache Exp $ .if !defined(GROONGA_HACKS_MK) GROONGA_HACKS_MK= # defined .include "../../mk/compiler.mk" -# Build without optimization. Avoids crash in expr.c -.if !empty(MACHINE_PLATFORM:MNetBSD-6.99.[0-9]*-x86_64) && !empty(CC_VERSION:Mclang-*) +# Build with optimization. Avoids crash in expr.c +.if !empty(CC_VERSION:Mclang-*) && !empty(CFLAGS:M-O*) PKG_HACKS+= clang-optimization -BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O0 +UNLIMIT_RESOURCES= datasize .endif .endif |