Source-Changes-HG archive

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

[src/trunk]: src/lib For cerror, allow -I../libc to allow inclusion of any as...



details:   https://anonhg.NetBSD.org/src/rev/a6a8c18bbf04
branches:  trunk
changeset: 760897:a6a8c18bbf04
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 16 03:29:36 2011 +0000

description:
For cerror, allow -I../libc to allow inclusion of any assym.h, if up.

diffstat:

 lib/libposix/sys/Makefile.inc |  4 ++--
 lib/librt/sys/Makefile.inc    |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ac963fc03e71 -r a6a8c18bbf04 lib/libposix/sys/Makefile.inc
--- a/lib/libposix/sys/Makefile.inc     Sun Jan 16 03:22:19 2011 +0000
+++ b/lib/libposix/sys/Makefile.inc     Sun Jan 16 03:29:36 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.20 2011/01/14 05:20:00 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.21 2011/01/16 03:29:36 matt Exp $
 
 # sys sources
 .PATH: ${.CURDIR}/sys
@@ -11,7 +11,7 @@
 CLEANFILES+=   ${PSEUDO}
 
 SRCS+=         cerror.S
-CPPFLAGS+=     -D__cerror=__posix_cerror
+CPPFLAGS+=     -D__cerror=__posix_cerror -I../libc
 
 ASMDEPS=       ${.CURDIR}/sys/Makefile.inc ${ARCHDIR}/SYS.h \
                ${DESTDIR}/usr/include/sys/syscall.h
diff -r ac963fc03e71 -r a6a8c18bbf04 lib/librt/sys/Makefile.inc
--- a/lib/librt/sys/Makefile.inc        Sun Jan 16 03:22:19 2011 +0000
+++ b/lib/librt/sys/Makefile.inc        Sun Jan 16 03:29:36 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.6 2011/01/14 05:19:59 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2011/01/16 03:29:36 matt Exp $
 
 .PATH: ${.CURDIR}/sys
 .PATH: ${ARCHDIR}/sys
@@ -13,7 +13,7 @@
 CLEANFILES+=   ${ASM}
 
 SRCS+=         cerror.S
-CPPFLAGS+=     -D__cerror=__rt_cerror
+CPPFLAGS+=     -D__cerror=__rt_cerror -I../libc
 
 ASMDEPS=       ${.CURDIR}/sys/Makefile.inc ${ARCHDIR}/SYS.h \
                ${DESTDIR}/usr/include/sys/syscall.h



Home | Main Index | Thread Index | Old Index