This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: EXTRA_TARGET_FLAGS ?


On Thu, Aug 16, 2012 at 10:08 AM, Bruce Korb <bruce.korb@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]