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

Signed-off-by: Sergey Alirzaev <zl29ah@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9714
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Sergey Alirzaev
2018-06-19 10:49:49 +03:00
committed by Andreas Sturmlechner
parent 5ab790810c
commit 8c8ac8ed4f

View File

@@ -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() {