From: John Bowler Date: Tue, 19 Jul 2005 03:08:44 +0000 (+0000) Subject: Makefile.in was patched to change ${CC} to cc for something which needed X-Git-Tag: Release-2010-05/1~9453^2~4128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=551478b744df4faaa3e63b1b052b2e95c6345778;p=openembedded.git 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. --- 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