commit:     8c8ac8ed4ff92d2376c9f12065f5f3c15e7ac045
Author:     Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
AuthorDate: Tue Jun 19 07:49:49 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 21:55:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8ac8ed

dev-libs/libbulletml: don't override the system-wide flags

Signed-off-by: Sergey Alirzaev <zl29ah <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9714
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 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 8a90adf3239..62b2ec3e1b7 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() {

Reply via email to