commit:     c345259bec0d8f00e949af9cf6d6b6f2ce770b5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 01:31:48 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 05:33:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c345259b

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 <AT> gentoo.org>

 games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild | 6 +-----
 games-strategy/wesnoth/wesnoth-1.16.2.ebuild    | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild 
b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
index 12aaafe9867e..f5718459c555 100644
--- a/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
+++ b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
@@ -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=(

diff --git a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild 
b/games-strategy/wesnoth/wesnoth-1.16.2.ebuild
index 9c2f089d6905..17cdd9a055f7 100644
--- a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild
+++ b/games-strategy/wesnoth/wesnoth-1.16.2.ebuild
@@ -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=(

Reply via email to