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:
Sam James 2022-05-17 01:31:48 +00:00
parent 35e2e5d274
commit c345259bec
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
2 changed files with 2 additions and 10 deletions

View File

@ -3,7 +3,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"
HOMEPAGE="http://www.wesnoth.org
@ -64,10 +64,6 @@ src_prepare() {
src_configure() {
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
mycmakeargs=(

View File

@ -3,7 +3,7 @@
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"
HOMEPAGE="http://www.wesnoth.org
@ -64,10 +64,6 @@ src_prepare() {
src_configure() {
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
mycmakeargs=(