summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.3/900-nios2.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-07 05:00:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-07 05:00:57 +0000
commitf6a2b9b69195eb7f77a6166fce18efcb06d71dd5 (patch)
treece23ca45a516629d00e3da4aba2b0b08ff19c03e /toolchain/gcc/3.4.3/900-nios2.patch
parent77af3a2fa2675a19191706d8150cea844a608a51 (diff)
downloadbuildroot-novena-f6a2b9b69195eb7f77a6166fce18efcb06d71dd5.tar.gz
buildroot-novena-f6a2b9b69195eb7f77a6166fce18efcb06d71dd5.zip
Thomas Chou: update nios2 patch
Diffstat (limited to 'toolchain/gcc/3.4.3/900-nios2.patch')
-rw-r--r--toolchain/gcc/3.4.3/900-nios2.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/3.4.3/900-nios2.patch b/toolchain/gcc/3.4.3/900-nios2.patch
index 39ac283ea..bfa06a21c 100644
--- a/toolchain/gcc/3.4.3/900-nios2.patch
+++ b/toolchain/gcc/3.4.3/900-nios2.patch
@@ -6849,7 +6849,7 @@
+
--- gcc-3.4.3/gcc/config/nios2/nios2.h
+++ gcc-3.4.3-nios2/gcc/config/nios2/nios2.h
-@@ -0,0 +1,823 @@
+@@ -0,0 +1,824 @@
+/* Definitions of target machine for Altera NIOS 2G NIOS2 version.
+ Copyright (C) 2003 Altera
+ Contributed by Jonah Graham (jgraham@altera.com).
@@ -6878,6 +6878,7 @@
+ { \
+ builtin_define_std ("NIOS2"); \
+ builtin_define_std ("nios2"); \
++ builtin_define ("_GNU_SOURCE"); \
+ } \
+ while (0)
+#define TARGET_VERSION fprintf (stderr, " (Altera Nios II)")