logo

overlay

My (experimental) gentoo overlay
commit: 9843bef3c2b9a889b4805afd266b1d3fe3a27770
parent: 9d59407e7da0727b41412049d281f7f16d367a34
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Apr 2019 21:47:30 +0200

www-client/badwolf: Define CC/CFLAGS fallbacks when missing

Diffstat:

Mwww-client/badwolf/badwolf-0.1.0_rc2.ebuild4++--
Mwww-client/badwolf/badwolf-9999.ebuild4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-client/badwolf/badwolf-0.1.0_rc2.ebuild b/www-client/badwolf/badwolf-0.1.0_rc2.ebuild @@ -36,8 +36,8 @@ src_configure() { src_compile() { emake \ - CC="${CC}" \ - CFLAGS="${CFLAGS}" \ + CC="${CC:-cc}" \ + CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \ LDFLAGS="${LDFLAGS}" } diff --git a/www-client/badwolf/badwolf-9999.ebuild b/www-client/badwolf/badwolf-9999.ebuild @@ -36,8 +36,8 @@ src_configure() { src_compile() { emake \ - CC="${CC}" \ - CFLAGS="${CFLAGS}" \ + CC="${CC:-cc}" \ + CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \ LDFLAGS="${LDFLAGS}" }