search for: forceasm

Displaying 1 result from an estimated 1 matches for "forceasm".

Did you mean: forceall
2008 Mar 21
0
[LLVMdev] Apple's GCC and .s/.S files in llvm-test
...grams (working copy) @@ -377,15 +377,25 @@ LLCASSEMBLERFLAGS = -mcpu=v9 endif +# On darwin, Apple's GCC doesn't make a distinction between file.s and file.S, +# it always run the preprocessor. One way to disable that is to force the +# language to be assembler (not assembler-with-cpp). +FORCEASM = +ifeq ($(OS),Darwin) +FORCEASM = -x assembler +endif + # Assemble (and link) an LLVM-linked program using the system assembler... # $(PROGRAMS_TO_TEST:%=Output/%.llc): \ Output/%.llc: Output/%.llc.s - -$(LLVMGCCLD) $< -o $@ $(LLCLIBS) $(LLCASSEMBLERFLAGS) $(TARGET_FLAGS) $(LDFLAGS) + -$(L...