From 8c8ac8ed4ff92d2376c9f12065f5f3c15e7ac045 Mon Sep 17 00:00:00 2001 From: Sergey Alirzaev Date: Tue, 19 Jun 2018 10:49:49 +0300 Subject: [PATCH] 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 --- dev-libs/libbulletml/libbulletml-0.0.6.ebuild | 3 +++ 1 file changed, 3 insertions(+) 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() { -- 2.26.2