pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cre2 -std=c++11 is a C++-only option, so don't p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91b45eb8521e
branches:  trunk
changeset: 356287:91b45eb8521e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Dec 25 21:43:56 2016 +0000

description:
-std=c++11 is a C++-only option, so don't put it in CPPFLAGS.

diffstat:

 devel/cre2/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ca9c88edcafa -r 91b45eb8521e devel/cre2/Makefile
--- a/devel/cre2/Makefile       Sun Dec 25 20:18:32 2016 +0000
+++ b/devel/cre2/Makefile       Sun Dec 25 21:43:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/10/17 14:06:39 mef Exp $
+# $NetBSD: Makefile,v 1.4 2016/12/25 21:43:56 joerg Exp $
 
 DISTNAME=      cre2
 PKGNAME=       cre2-0.1b6
@@ -17,7 +17,7 @@
 USE_LANGUAGES+=        c c++
 USE_TOOLS+=    autoconf autoreconf automake gmake makeinfo
 # to avoid configure: error: test for RE2 header failed
-CPPFLAGS+=     -std=c++11
+CXXFLAGS+=     -std=c++11
 
 INFO_FILES=    yes
 



Home | Main Index | Thread Index | Old Index