diff options
Diffstat (limited to 'lang/gcc3/patches/patch-ag')
-rw-r--r-- | lang/gcc3/patches/patch-ag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc3/patches/patch-ag b/lang/gcc3/patches/patch-ag new file mode 100644 index 00000000000..6bdbad6ff64 --- /dev/null +++ b/lang/gcc3/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.3 2004/04/10 15:47:08 seb Exp $ + +Index: gcc/config/netbsd.h +--- gcc/config/netbsd.h Wed Jul 23 02:41:37 2003 ++++ gcc/config/netbsd.h Fri Jul 25 17:57:43 2003 +@@ -234,3 +234,7 @@ + /* 7 == PROT_READ | PROT_WRITE | PROT_EXEC */ \ + (void) mprotect (page, end - page, 7); \ + } ++ ++/* NetBSD depends on "cpp" having GNUC semantics, and must default as if ++ "cpp -gcc" was called. */ ++#define DEFAULT_CPP_NEED_NO_GCC 0 |