From: Sergey Alirzaev Date: Tue, 19 Jun 2018 07:49:49 +0000 (+0300) Subject: dev-libs/libbulletml: don't override the system-wide flags X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8c8ac8ed4ff92d2376c9f12065f5f3c15e7ac045;p=gentoo.git dev-libs/libbulletml: don't override the system-wide flags Signed-off-by: Sergey Alirzaev Closes: https://github.com/gentoo/gentoo/pull/9714 Signed-off-by: Andreas Sturmlechner --- diff --git a/dev-libs/libbulletml/libbulletml-0.0.6.ebuild b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild index 8a90adf32396..62b2ec3e1b7d 100644 --- a/dev-libs/libbulletml/libbulletml-0.0.6.ebuild +++ b/dev-libs/libbulletml/libbulletml-0.0.6.ebuild @@ -22,6 +22,9 @@ src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-gcc46.patch rm -r boost || die + + # don't override the system-wide flags + sed -i -e '/^CFLAGS =/d;/^CXXFLAGS =/d' Makefile ygg/Makefile || die } src_compile() {