On Thu, Aug 16, 2012 at 10:08 AM, Bruce Korb <bruce.k...@gmail.com> wrote:
> From Makefile.tpl:
>
> EXTRA_TARGET_FLAGS = \
>         'AR=$$(AR_FOR_TARGET)' \
>         'AS=$(COMPILER_AS_FOR_TARGET)' \
>         'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
>         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
>         'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
>         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
>         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
>
> I think AS=$(...) is wrong.

Why do you think so?

Note that it follows the same pattern as LD and NM.  In each case it's
because during the build we actually want to run a shell script in the
gcc build directory.

Ian

Reply via email to