summaryrefslogtreecommitdiff
path: root/packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-19 03:08:44 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-19 03:08:44 +0000
commit551478b744df4faaa3e63b1b052b2e95c6345778 (patch)
tree1a45188bebac706bb58b91c67c7ec9fd407f1546 /packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch
parent251288dd639ca45fa6250e556c6f886106541910 (diff)
Makefile.in was patched to change ${CC} to cc for something which needed
BUILD_CC, but the target CFLAGS were still there, preventing the target cflags containing anything which only works with TARGET_CC. Fixed to use BUILD_CC, BUILD_CFLAGS and BULD_LDFLAGS - still a hack because these come in 'by magic' from the environment, but that's fine in OE builds because they are always set by the do_compile script.
Diffstat (limited to 'packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch')
-rw-r--r--packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch b/packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch
index e8b6ba59b5..0f97865c3f 100644
--- a/packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch
+++ b/packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch
@@ -5,7 +5,7 @@
gen: gen.c
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
-+ cc ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${BUILD_CC} ${EXT_CFLAGS} ${BUILD_CFLAGS} ${ALL_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
rbtdb64.@O@: rbtdb.c