Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc G/C -nostdinc usage, --sysroot is provided automati...



details:   https://anonhg.NetBSD.org/src/rev/1e6315c25f3d
branches:  trunk
changeset: 771117:1e6315c25f3d
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Nov 10 00:36:54 2011 +0000

description:
G/C -nostdinc usage, --sysroot is provided automatically.

diffstat:

 lib/libc/Makefile.inc |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 6d1e38d36f37 -r 1e6315c25f3d lib/libc/Makefile.inc
--- a/lib/libc/Makefile.inc     Thu Nov 10 00:12:04 2011 +0000
+++ b/lib/libc/Makefile.inc     Thu Nov 10 00:36:54 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.6 2010/05/30 08:28:53 tnozaki Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2011/11/10 00:36:54 joerg Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -53,9 +53,6 @@
 
 ARCHDIR=       ${.CURDIR}/arch/${ARCHSUBDIR}
 AFLAGS+=       -I${ARCHDIR}
-.if defined(DESTDIR)
-AFLAGS+=       -nostdinc -isystem ${DESTDIR}/usr/include
-.endif
 CLEANFILES+=   tags
 
 # Don't try to lint the C library against itself when creating llib-lc.ln



Home | Main Index | Thread Index | Old Index