summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-02 13:57:48 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-02 14:17:00 -0400
commit89dd9513df16970259656fa5f927517a68723dbc (patch)
treece66547087b594abbdaf485cd6e5fe8ae345cf26 /games-arcade
parentgames-arcade/defendguin: remove old (diff)
downloadgentoo-89dd9513df16970259656fa5f927517a68723dbc.tar.gz
gentoo-89dd9513df16970259656fa5f927517a68723dbc.tar.bz2
gentoo-89dd9513df16970259656fa5f927517a68723dbc.zip
games-arcade/defendguin: respect CPPFLAGS too
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade')
-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
}