Source-Changes-HG archive

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

[src/trunk]: src/dist/bind/bin Add CPPFLAGS so this can be cross-compiled.



details:   https://anonhg.NetBSD.org/src/rev/7a21dbd7cf23
branches:  trunk
changeset: 479886:7a21dbd7cf23
user:      garbled <garbled%NetBSD.org@localhost>
date:      Fri Dec 24 19:11:25 1999 +0000

description:
Add CPPFLAGS so this can be cross-compiled.

diffstat:

 dist/bind/bin/probe_ipv6 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r c5773b8df82e -r 7a21dbd7cf23 dist/bind/bin/probe_ipv6
--- a/dist/bind/bin/probe_ipv6  Fri Dec 24 18:03:32 1999 +0000
+++ b/dist/bind/bin/probe_ipv6  Fri Dec 24 19:11:25 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: probe_ipv6,v 1.2 1999/11/20 19:03:47 veego Exp $
+#      $NetBSD: probe_ipv6,v 1.3 1999/12/24 19:11:25 garbled Exp $
 
 set -e
 PATH=/bin:/usr/bin:$PATH; export PATH
@@ -30,10 +30,10 @@
 
 EOF
 
-if ${CC} -c tmp$$a.c > /dev/null 2>&1
+if ${CC} ${CPPFLAGS} -c tmp$$a.c > /dev/null 2>&1
 then
         echo "#define HAS_INET6_STRUCTS" >> ${new}
-        if ${CC} -c tmp$$b.c > /dev/null 2>&1
+        if ${CC} ${CPPFLAGS} -c tmp$$b.c > /dev/null 2>&1
         then
                :
        else



Home | Main Index | Thread Index | Old Index