pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/icu Add -std=c++11 to CXXFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/456340ee4524
branches:  trunk
changeset: 361638:456340ee4524
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 23 09:58:31 2017 +0000

description:
Add -std=c++11 to CXXFLAGS.

icu uses char16_t in a central header file; this type is added by c++11.

diffstat:

 textproc/icu/buildlink3.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0e0dd4981ba8 -r 456340ee4524 textproc/icu/buildlink3.mk
--- a/textproc/icu/buildlink3.mk        Sun Apr 23 09:25:59 2017 +0000
+++ b/textproc/icu/buildlink3.mk        Sun Apr 23 09:58:31 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.30 2016/12/04 04:11:32 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.31 2017/04/23 09:58:31 wiz Exp $
 
 BUILDLINK_TREE+=       icu
 
@@ -10,4 +10,7 @@
 BUILDLINK_PKGSRCDIR.icu?=      ../../textproc/icu
 .endif # ICU_BUILDLINK3_MK
 
+# icu uses char16_t in a central header file, which is added by c++11
+CXXFLAGS+=     -std=c++11
+
 BUILDLINK_TREE+=       -icu



Home | Main Index | Thread Index | Old Index