diff options
author | Mike Frysinger <vapier@chromium.org> | 2018-01-10 20:31:47 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2018-01-10 20:33:54 -0500 |
commit | 0c386fa287ecc474995b49e492fe5ec4184bed4a (patch) | |
tree | a773deeadcc8ca8a1ed54c3deb4d156e6a7e0ac1 /dev-util | |
parent | www-plugins/freshplayerplugin: Version bump to 0.3.9 (diff) | |
download | gentoo-0c386fa287ecc474995b49e492fe5ec4184bed4a.tar.gz gentoo-0c386fa287ecc474995b49e492fe5ec4184bed4a.tar.bz2 gentoo-0c386fa287ecc474995b49e492fe5ec4184bed4a.zip |
dev-util/perf: clean up -Werror usage
The api/Makefile already checks $(WERROR), so no need to mung it anymore.
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/perf/perf-4.9.13.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-util/perf/perf-4.9.13.ebuild b/dev-util/perf/perf-4.9.13.ebuild index 99c34d5b4c5b..f63b51115804 100644 --- a/dev-util/perf/perf-4.9.13.ebuild +++ b/dev-util/perf/perf-4.9.13.ebuild @@ -112,7 +112,9 @@ src_prepare() { sed -i \ -e "s:\$(sysconfdir_SQ)/bash_completion.d:$(get_bashcompdir):" \ "${S}"/Makefile.perf || die - sed -i -e 's:-Werror::' "${S_K}"/tools/lib/api/Makefile || die + # A few places still use -Werror w/out $(WERROR) protection. + sed -i -e 's:-Werror::' \ + "${S}"/Makefile.perf "${S_K}"/tools/lib/bpf/Makefile || die # Avoid the call to make kernelversion echo "#define PERF_VERSION \"${MY_PV}\"" > PERF-VERSION-FILE |