aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/arch/nios2.in1
-rw-r--r--samples/i686-w64-mingw32,nios2-spico-elf/crosstool.config2
-rw-r--r--samples/nios2-altera-linux-gnu/crosstool.config2
-rw-r--r--samples/nios2-unknown-elf/crosstool.config2
4 files changed, 7 insertions, 0 deletions
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
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
diff --git a/samples/nios2-altera-linux-gnu/crosstool.config b/samples/nios2-altera-linux-gnu/crosstool.config
index d038aac2..f8203b50 100644
--- a/samples/nios2-altera-linux-gnu/crosstool.config
+++ b/samples/nios2-altera-linux-gnu/crosstool.config
@@ -3,6 +3,8 @@ CT_ARCH_NIOS2=y
CT_ARCH_USE_MMU=y
CT_TARGET_VENDOR="altera"
CT_KERNEL_LINUX=y
+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
# CT_GDB_CROSS_PYTHON is not set
diff --git a/samples/nios2-unknown-elf/crosstool.config b/samples/nios2-unknown-elf/crosstool.config
index 2fe5d443..045d360c 100644
--- a/samples/nios2-unknown-elf/crosstool.config
+++ b/samples/nios2-unknown-elf/crosstool.config
@@ -1,5 +1,7 @@
CT_CONFIG_VERSION="4"
CT_ARCH_NIOS2=y
+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
# CT_GDB_CROSS_PYTHON is not set