Source-Changes-HG archive

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

[src/netbsd-1-6]: src/lib/libc/sys Pull up revision 1.128 (requested by thorp...



details:   https://anonhg.NetBSD.org/src/rev/80b033fbf327
branches:  netbsd-1-6
changeset: 529322:80b033fbf327
user:      he <he%NetBSD.org@localhost>
date:      Mon Nov 11 21:48:35 2002 +0000

description:
Pull up revision 1.128 (requested by thorpej in ticket #803):
  Fix some problems using makelintstub as a cross-tool:
   o Require that the path to the C preprocessor be passed
     in the CPP environment variable, and use it rather than
     hard-coding "cpp".  Provide the target's preprocessor
     when invoking makelintstub.
   o Fix some quoting issues found with Solaris 8's XPG4 sh
     and sed.
   o Do not use "echo -n".  The resulting whitespace is not
     supposed to be syntactically significant anyway.

diffstat:

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

diffs (30 lines):

diff -r a946be9c9a1c -r 80b033fbf327 lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Mon Nov 11 21:47:58 2002 +0000
+++ b/lib/libc/sys/Makefile.inc Mon Nov 11 21:48:35 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.124 2002/01/29 19:01:18 tv Exp $
+#      $NetBSD: Makefile.inc,v 1.124.2.1 2002/11/11 21:48:35 he Exp $
 #      @(#)Makefile.inc        8.3 (Berkeley) 10/24/94
 
 # sys sources
@@ -96,17 +96,17 @@
 
 LintSysNormal.c: ${.CURDIR}/sys/makelintstub \
     ${DESTDIR}/usr/include/sys/syscall.h
-       sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} \
+       CPP=${CPP:Q} sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} \
            -s ${DESTDIR}/usr/include/sys/syscall.h ${ASM} ${WEAKASM}
 
 LintSysNoerr.c: ${.CURDIR}/sys/makelintstub \
     ${DESTDIR}/usr/include/sys/syscall.h
-       sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} -n \
+       CPP=${CPP:Q} sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} -n \
            -s ${DESTDIR}/usr/include/sys/syscall.h ${NOERR}
 
 LintSysPseudoNoerr.c: ${.CURDIR}/sys/makelintstub \
     ${DESTDIR}/usr/include/sys/syscall.h
-       sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} -p \
+       CPP=${CPP:Q} sh ${.CURDIR}/sys/makelintstub -o ${.TARGET} -p \
            -s ${DESTDIR}/usr/include/sys/syscall.h ${PSEUDONOERR}
 
 MAN+=  accept.2 access.2 acct.2 adjtime.2 bind.2 brk.2 chdir.2 \



Home | Main Index | Thread Index | Old Index