From 3bc0a706acdfebe4da27cdbbd01ef26a339fbded Mon Sep 17 00:00:00 2001 From: garbled Date: Fri, 24 Dec 1999 19:11:25 +0000 Subject: [PATCH] Add CPPFLAGS so this can be cross-compiled. --- dist/bind/bin/probe_ipv6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/bind/bin/probe_ipv6 b/dist/bind/bin/probe_ipv6 index a6d52d273a39..03e2ecf91772 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} < /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