summaryrefslogtreecommitdiff
path: root/dist/bind
diff options
context:
space:
mode:
authorgarbled <garbled@NetBSD.org>1999-12-24 19:11:25 +0000
committergarbled <garbled@NetBSD.org>1999-12-24 19:11:25 +0000
commit3bc0a706acdfebe4da27cdbbd01ef26a339fbded (patch)
tree60b43fd16b47883fc94dea4082b1cd3bd9f68811 /dist/bind
parent337c668339587e5f474697eff65be98a8c2e3be8 (diff)
Add CPPFLAGS so this can be cross-compiled.
Diffstat (limited to 'dist/bind')
-rwxr-xr-xdist/bind/bin/probe_ipv66
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/bind/bin/probe_ipv6 b/dist/bind/bin/probe_ipv6
index a6d52d273a3..03e2ecf9177 100755
--- a/dist/bind/bin/probe_ipv6
+++ b/dist/bind/bin/probe_ipv6
@@ -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 @@ cat > ${new} <<EOF
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