summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-04-15 13:42:22 +0000
committerjoerg <joerg@NetBSD.org>2011-04-15 13:42:22 +0000
commitb40ee85ab4028ff5b4a3753468556bdbfbde3df7 (patch)
tree9108b75851a95c2df42459c7d48e6ef80a75429d /gnu
parentbf43e9474e6365bafc5eafd830cf1f399a689b69 (diff)
Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/gcc4/gcc/config/netbsd.h3
-rw-r--r--gnu/usr.bin/gcc4/include/Makefile4
2 files changed, 4 insertions, 3 deletions
diff --git a/gnu/dist/gcc4/gcc/config/netbsd.h b/gnu/dist/gcc4/gcc/config/netbsd.h
index a9e1f9d9633..162371535ea 100644
--- a/gnu/dist/gcc4/gcc/config/netbsd.h
+++ b/gnu/dist/gcc4/gcc/config/netbsd.h
@@ -60,7 +60,7 @@ Boston, MA 02110-1301, USA. */
#define GPLUSPLUS_BACKWARD_INCLUDE_DIR "/usr/include/g++/backward"
#undef GCC_INCLUDE_DIR
-#define GCC_INCLUDE_DIR "/usr/include"
+#define GCC_INCLUDE_DIR "/usr/include/gcc-4.1"
#undef INCLUDE_DEFAULTS
#define INCLUDE_DEFAULTS \
@@ -68,6 +68,7 @@ Boston, MA 02110-1301, USA. */
{ GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 1 }, \
{ GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 1 }, \
{ GCC_INCLUDE_DIR, "GCC", 0, 0, 1 }, \
+ { "/usr/include", "GCC", 0, 0, 1 }, \
{ 0, 0, 0, 0 } \
}
diff --git a/gnu/usr.bin/gcc4/include/Makefile b/gnu/usr.bin/gcc4/include/Makefile
index 58e376ee89d..b6393187a26 100644
--- a/gnu/usr.bin/gcc4/include/Makefile
+++ b/gnu/usr.bin/gcc4/include/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/03/30 07:27:08 mrg Exp $
+# $NetBSD: Makefile,v 1.5 2011/04/15 13:42:23 joerg Exp $
.include "../Makefile.inc"
@@ -14,7 +14,7 @@ mm_malloc.h: ${DIST}/gcc/config/i386/gmm_malloc.h
CLEANFILES+= mm_malloc.h
.endif
-INCSDIR= /usr/include
+INCSDIR= /usr/include/gcc-4.1
.include <bsd.prog.mk>