svn commit: r459050 - head/benchmarks/lzbench

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jan 15 14:35:12 UTC 2018


Author: danfe
Date: Mon Jan 15 14:35:10 2018
New Revision: 459050
URL: https://svnweb.freebsd.org/changeset/ports/459050

Log:
  Unbreak the build against Clang 6.0.0 by allowing certain warnings while I'm
  not in the mood for fixing them (technically, `-Wno-c++11-narrowing' is only
  required for Clang 6 and later, but since it does not apparently upset other
  compilers, pass it unconditionally rather than complicate Makefile logic).

Modified:
  head/benchmarks/lzbench/Makefile

Modified: head/benchmarks/lzbench/Makefile
==============================================================================
--- head/benchmarks/lzbench/Makefile	Mon Jan 15 14:34:17 2018	(r459049)
+++ head/benchmarks/lzbench/Makefile	Mon Jan 15 14:35:10 2018	(r459050)
@@ -13,6 +13,8 @@ USES=		compiler:c11 gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	inikep
 
+MAKE_ENV=	CODE_FLAGS=-Wno-c++11-narrowing		# XXX: for clang 6
+
 PLIST_FILES=	bin/lzbench
 PORTDOCS=	NEWS
 


More information about the svn-ports-all mailing list