summaryrefslogtreecommitdiff
path: root/inputmethod/uim
diff options
context:
space:
mode:
authorryoon <ryoon>2016-05-18 03:56:03 +0000
committerryoon <ryoon>2016-05-18 03:56:03 +0000
commit75d5be6bb93e6671355c131bbbad7faa55bf1e91 (patch)
tree2713d8545d2b415faa50e2cbcda61d57d7f26f11 /inputmethod/uim
parent0acfa6773fcc61a4732b3dd658a5fa94fb63c30b (diff)
downloadpkgsrc-75d5be6bb93e6671355c131bbbad7faa55bf1e91.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__