Source-Changes-HG archive

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

[src/netbsd-1-6]: src/share/mk Pull up revision 1.3 (requested by thorpej in ...



details:   https://anonhg.NetBSD.org/src/rev/abc222f873c6
branches:  netbsd-1-6
changeset: 527732:abc222f873c6
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 05 03:32:39 2002 +0000

description:
Pull up revision 1.3 (requested by thorpej in ticket #164):
Don't -I${DESTDIR}/usr/include without -nostdinc'ing, first.  Some
versions of GCC are unhappy with that.

diffstat:

 share/mk/bsd.endian.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 47c37c2e3ef4 -r abc222f873c6 share/mk/bsd.endian.mk
--- a/share/mk/bsd.endian.mk    Wed Jun 05 03:31:01 2002 +0000
+++ b/share/mk/bsd.endian.mk    Wed Jun 05 03:32:39 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.endian.mk,v 1.2.2.3 2002/05/31 00:03:52 tv Exp $
+#      $NetBSD: bsd.endian.mk,v 1.2.2.4 2002/06/05 03:32:39 lukem Exp $
 
 .include <bsd.init.mk>
 
@@ -7,7 +7,8 @@
 .if exists(${DESTDIR}/usr/include/sys/endian.h)
 TARGET_ENDIANNESS!= \
        printf '\#include <sys/endian.h>\n_BYTE_ORDER\n' | \
-       ${CC} -I${DESTDIR}/usr/include -E - | tail -1 | awk '{print $$1}'
+       ${CC} -nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include -E - | \
+       tail -1 | awk '{print $$1}'
 .else
 TARGET_ENDIANNESS=
 .endif



Home | Main Index | Thread Index | Old Index