blob: f28ef743552ed4b9121c03a1b5db08eced81577b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bind_bind-9.9.5-P1_lib_export_dns_Makefile.in,v 1.1 2014/10/14 13:53:01 taca Exp $
Build gen with BUILD_CC and the associated BUILD_* flags so it can run
on the build platform when cross-compiling.
--- bind/bind-9.9.5-P1/lib/export/dns/Makefile.in.orig 2014-05-23 13:42:39.000000000 +0000
+++ bind/bind-9.9.5-P1/lib/export/dns/Makefile.in
@@ -168,7 +168,8 @@ code.h: gen
./gen -s ${srcdir} > code.h
gen: ${srcdir}/gen.c
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
+ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
+ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
#We don't need rbtdb64 for this library
#rbtdb64.@O@: rbtdb.c
|