diff options
author | danfe <danfe@FreeBSD.org> | 2018-01-15 22:35:10 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2018-01-15 22:35:10 +0800 |
commit | 94a231793941991015b16c459201d85402046f1f (patch) | |
tree | 0f07972c4467a57c9b13251763c16416a5c7a8e2 /benchmarks | |
parent | f46a0f6783f93e08f1e0e182962925fad3eeb3ba (diff) | |
download | freebsd-ports-gnome-94a231793941991015b16c459201d85402046f1f.tar.gz freebsd-ports-gnome-94a231793941991015b16c459201d85402046f1f.tar.zst freebsd-ports-gnome-94a231793941991015b16c459201d85402046f1f.zip |
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).
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/lzbench/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/lzbench/Makefile b/benchmarks/lzbench/Makefile index bfbea4051f9d..bfd477da39c6 100644 --- a/benchmarks/lzbench/Makefile +++ b/benchmarks/lzbench/Makefile @@ -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 |