Source-Changes-HG archive

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

[src/trunk]: src/regress/lib/libc While the intention of picking up the targe...



details:   https://anonhg.NetBSD.org/src/rev/c110e8a4d59b
branches:  trunk
changeset: 553978:c110e8a4d59b
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 23 21:59:35 2003 +0000

description:
While the intention of picking up the target's include files was fine,
those files are not available in certain phases in the build process,
notably the "obj" phase, so unconditionally decend into siginfo during
that pass.  This should make read-only source trees build again when
cross-compiling for a target supporting siginfo on a host not supporting
siginfo.

diffstat:

 regress/lib/libc/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d8455b8a542a -r c110e8a4d59b regress/lib/libc/Makefile
--- a/regress/lib/libc/Makefile Thu Oct 23 20:55:08 2003 +0000
+++ b/regress/lib/libc/Makefile Thu Oct 23 21:59:35 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.38 2003/10/20 00:07:47 he Exp $
+#      $NetBSD: Makefile,v 1.39 2003/10/23 21:59:35 he Exp $
 
 SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \
        gen getaddrinfo hsearch int_fmtio locale md5sha popen regex rpc \
@@ -12,7 +12,7 @@
 
 HAVE_SIGINFO != if (echo "\#include <signal.h>" && echo "SA_SIGINFO") | ${CC} -E -I${DESTDIR}/usr/include - | grep -sq 0x0040; then echo yes; else echo no; fi
 
-.if (${HAVE_SIGINFO} == "yes")
+.if make(obj) || (${HAVE_SIGINFO} == "yes")
 SUBDIR+= siginfo
 .endif
 



Home | Main Index | Thread Index | Old Index