diff options
| author | garbled <garbled@NetBSD.org> | 1999-12-24 19:11:25 +0000 |
|---|---|---|
| committer | garbled <garbled@NetBSD.org> | 1999-12-24 19:11:25 +0000 |
| commit | 3bc0a706acdfebe4da27cdbbd01ef26a339fbded (patch) | |
| tree | 60b43fd16b47883fc94dea4082b1cd3bd9f68811 /dist/bind | |
| parent | 337c668339587e5f474697eff65be98a8c2e3be8 (diff) | |
Add CPPFLAGS so this can be cross-compiled.
Diffstat (limited to 'dist/bind')
| -rwxr-xr-x | dist/bind/bin/probe_ipv6 | 6 |
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 |
