- add apropriate variables for the host-toolchain to HOST_CONFIGURE_OPTS
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Aug 2007 08:14:51 +0000 (08:14 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 28 Aug 2007 08:14:51 +0000 (08:14 -0000)
package/Makefile.in

index c1a650d7bf96973671a70225add08369d130fbd5..bdfa1e2acc02c73f9705aa33f0953ad0866e19a2 100644 (file)
@@ -159,6 +159,12 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
                CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
                CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \
                LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
+               AR="$(HOSTAR)" \
+               AS="$(HOSTAS)" \
+               CC="$(HOSTCC) $(HOST_CFLAGS)" \
+               GCC="$(HOSTCC) $(HOST_CFLAGS)" \
+               CXX="$(HOSTCXX)" \
+               LD="$(HOSTLD) $(HOST_LDFLAGS)" \
                AR_FOR_TARGET=$(TARGET_CROSS)ar \
                AS_FOR_TARGET=$(TARGET_CROSS)as \
                LD_FOR_TARGET=$(TARGET_CROSS)ld \