Makefile.in was patched to change ${CC} to cc for something which needed
authorJohn Bowler <jbowler@nslu2-linux.org>
Tue, 19 Jul 2005 03:08:44 +0000 (03:08 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 19 Jul 2005 03:08:44 +0000 (03:08 +0000)
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.

packages/bind/bind-9.3.1/lib_dns_Makefile.in.patch

index e8b6ba5..0f97865 100644 (file)
@@ -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