From f6a2b9b69195eb7f77a6166fce18efcb06d71dd5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 7 Feb 2006 05:00:57 +0000 Subject: Thomas Chou: update nios2 patch --- toolchain/gcc/3.4.3/900-nios2.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toolchain/gcc/3.4.3') 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)") -- cgit v1.2.3