games-strategy/wesnoth: [QA] drop (very) stale GCC version checks
There's no way that GCC 3.x is usable on a modern system and it was released in ~2005. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
35e2e5d274
commit
c345259bec
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake flag-o-matic toolchain-funcs xdg
|
inherit cmake flag-o-matic xdg
|
||||||
|
|
||||||
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
||||||
HOMEPAGE="http://www.wesnoth.org
|
HOMEPAGE="http://www.wesnoth.org
|
||||||
|
@ -64,10 +64,6 @@ src_prepare() {
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
filter-flags -ftracer -fomit-frame-pointer
|
filter-flags -ftracer -fomit-frame-pointer
|
||||||
if [[ $(gcc-major-version) -eq 3 ]] ; then
|
|
||||||
filter-flags -fstack-protector
|
|
||||||
append-flags -fno-stack-protector
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use dedicated || use server ; then
|
if use dedicated || use server ; then
|
||||||
mycmakeargs=(
|
mycmakeargs=(
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit cmake flag-o-matic toolchain-funcs xdg
|
inherit cmake flag-o-matic xdg
|
||||||
|
|
||||||
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
|
||||||
HOMEPAGE="http://www.wesnoth.org
|
HOMEPAGE="http://www.wesnoth.org
|
||||||
|
@ -64,10 +64,6 @@ src_prepare() {
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
filter-flags -ftracer -fomit-frame-pointer
|
filter-flags -ftracer -fomit-frame-pointer
|
||||||
if [[ $(gcc-major-version) -eq 3 ]] ; then
|
|
||||||
filter-flags -fstack-protector
|
|
||||||
append-flags -fno-stack-protector
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use dedicated || use server ; then
|
if use dedicated || use server ; then
|
||||||
mycmakeargs=(
|
mycmakeargs=(
|
||||||
|
|
Loading…
Reference in New Issue