The makefile was explicitly setting LDFLAGS what is breaking some rules in the global makefile. llvm-svn: 265920