[cfe-dev] clang bootstrap broken on darwin10

Jack Howarth howarth at bromo.med.uc.edu
Sun Mar 6 14:55:44 PST 2011


Chris,
   The problem seems to be that LD.Flags in Makefile.rules, which defines...

LD.Flags      += -L$(LibDir) -L$(LLVMLibDir)

isn't being placed ahead of LDFLAGS in the build. I don't quite see how this
can be easily fixed given that prepending isn't available. It seems that
LDFLAGS passed to the build need to be stored in another variable and
LDFLAGS cleared. Then the build can place this stored LDFLAGS after the
one that Makefile.rules sets up with LD.Flags.
           Jack



More information about the cfe-dev mailing list