Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 00:14:18 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492280 - head/comms/gsmlib
Message-ID:  <201902060014.x160EIWu042854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Feb  6 00:14:18 2019
New Revision: 492280
URL: https://svnweb.freebsd.org/changeset/ports/492280

Log:
  CXXFLAGS+=-Wno-c++11-narrowing is not supported by base GCC.  Instead
  add USE_CXXSTD=c++98 which makes this port compile by both base GCC and
  Clang.
  
  PR:		235527
  Submitted by:	Piotr Kubaj

Modified:
  head/comms/gsmlib/Makefile

Modified: head/comms/gsmlib/Makefile
==============================================================================
--- head/comms/gsmlib/Makefile	Wed Feb  6 00:10:49 2019	(r492279)
+++ head/comms/gsmlib/Makefile	Wed Feb  6 00:14:18 2019	(r492280)
@@ -17,13 +17,13 @@ LICENSE=	LGPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake libtool
+USE_CXXSTD=	c++98
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
 CPPFLAGS+=	-DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
 LDFLAGS+=	-lpthread
-CXXFLAGS+=	-Wno-c++11-narrowing
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902060014.x160EIWu042854>