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 --- samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'samples/i686-w64-mingw32,nios2-spico-elf') diff --git a/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config b/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config index 2e839dd7..83e7783d 100644 --- a/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config +++ b/samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config @@ -7,5 +7,7 @@ CT_TOOLCHAIN_BUGURL="https://bitbucket.org/netzimme/eax-gcc/issues?status=new&st CT_TARGET_VENDOR="spico" CT_CANADIAN=y CT_HOST="i686-w64-mingw32" +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--enable-obsolete" +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--enable-obsolete" CT_CC_LANG_CXX=y CT_DEBUG_GDB=y -- cgit v1.2.3