Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 02:24:22 +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: r488051 - head/audio/libcoverart
Message-ID:  <201812220224.wBM2OM1S001174@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Dec 22 02:24:22 2018
New Revision: 488051
URL: https://svnweb.freebsd.org/changeset/ports/488051

Log:
  Building on GCC-based architectures after the upgrade to GCC8 requires
  adding -Wno-unused-function -Wno-class-memaccess -Wno-catch-value to
  CXXFLAGS and -Wno-format-overflow to CFLAGS.
  
  PR:		234067
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/audio/libcoverart/Makefile

Modified: head/audio/libcoverart/Makefile
==============================================================================
--- head/audio/libcoverart/Makefile	Sat Dec 22 02:18:43 2018	(r488050)
+++ head/audio/libcoverart/Makefile	Sat Dec 22 02:24:22 2018	(r488051)
@@ -21,6 +21,11 @@ USE_LDCONFIG=	yes
 
 CXXFLAGS+=	-Wno-implicit-fallthrough
 
+.if exists(/usr/lib/libstdc++.so)
+CXXFLAGS+=	-Wno-unused-function -Wno-class-memaccess -Wno-catch-value
+CFLAGS+=	-Wno-format-overflow
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
 		 ${WRKSRC}/cmake/modules/*.cmake



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