summaryrefslogtreecommitdiff
path: root/inputmethod/uim
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2016-05-18 03:56:03 +0000
committerryoon <ryoon@pkgsrc.org>2016-05-18 03:56:03 +0000
commit5ab273bf0806633b3298ef3ee7acfb7bfad693cf (patch)
tree2713d8545d2b415faa50e2cbcda61d57d7f26f11 /inputmethod/uim
parent3c6595336cb45612795b1fd6b7ecacb1d51da059 (diff)
downloadpkgsrc-5ab273bf0806633b3298ef3ee7acfb7bfad693cf.tar.gz
Fix segfault of uim-module-manager command during build with removing -O2
Maybe GCC 5.3 problem.
Diffstat (limited to 'inputmethod/uim')
-rw-r--r--inputmethod/uim/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile
index 18517f23de9..83d68fc1e4b 100644
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2016/05/17 21:47:26 ryoon Exp $
+# $NetBSD: Makefile,v 1.116 2016/05/18 03:56:03 ryoon Exp $
#
.include "../../inputmethod/uim/Makefile.common"
@@ -19,6 +19,8 @@ CONFIGURE_ARGS+= --disable-emacs
CONFIGURE_ARGS+= --with-libgcroots=installed
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+BUILDLINK_TRANSFORM+= rm:-O2
+
LDFLAGS.SunOS+= -mimpure-text
CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__