From a646ab2a670c7d3e0194a1c860f3a0ba99284adc Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 5 Jan 2025 13:16:40 +1300 Subject: nios2: Require GCC older than 15 As per https://gcc.gnu.org/gcc-14/changes.html nios2 will be removed in GCC 15. Even in GCC 14 we need to pass --enable-obsolete to allow this target. Update our samples accordingly. Signed-off-by: Chris Packham --- config/arch/nios2.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/arch/nios2.in b/config/arch/nios2.in index de28246f..777a4265 100644 --- a/config/arch/nios2.in +++ b/config/arch/nios2.in @@ -7,6 +7,7 @@ ## select ARCH_DEFAULT_LE ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_FLAT_FORMAT +## select GCC_REQUIRE_older_than_15 ## ## help The NIOS2 architecture, as defined by: ## help http://www.altera.com -- cgit v1.2.3