summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/defendguin/defendguin-0.0.12-r2.ebuild')
-rw-r--r--games-arcade/defendguin/defendguin-0.0.12-r2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild
index 5094ba506e91..31b4eb2280dc 100644
--- a/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild
+++ b/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild
@@ -25,7 +25,7 @@ src_prepare() {
tc-export CC
sed -e "s|\$(DATA_PREFIX)|${EPREFIX}/usr/share/${PN}/|" \
-e '/^CFLAGS=.*-O2/d' \
- -e '/^CFLAGS=/s|=|+= $(LDFLAGS) |' \
+ -e '/^CFLAGS=/s|=|+= $(CPPFLAGS) $(LDFLAGS) |' \
-i Makefile || die
rm data/images/l2r.sh || die
}