Enable LLVM_RS_LINK. No longer forking an LLVM linker inside llvm-rs-cc.

Change-Id: I2ebc6ec759daf36d1e77fa8e30147ab8e40b44fc
This commit is contained in:
Shih-wei Liao 2010-10-11 10:36:42 -07:00
parent 8921ea6982
commit f7b32bfe41
2 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,7 @@ JARJAR := $(HOST_OUT_JAVA_LIBRARIES)/jarjar.jar
PROGUARD := external/proguard/bin/proguard.sh
JAVATAGS := build/tools/java-event-log-tags.py
LLVM_RS_CC := $(HOST_OUT_EXECUTABLES)/llvm-rs-cc$(HOST_EXECUTABLE_SUFFIX)
LLVM_RS_LINK := $(HOST_OUT_EXECUTABLES)/llvm-rs-link$(HOST_EXECUTABLE_SUFFIX)
DEXOPT := $(HOST_OUT_EXECUTABLES)/dexopt$(HOST_EXECUTABLE_SUFFIX)
DEXPREOPT := dalvik/tools/dex-preopt

View File

@ -774,6 +774,8 @@ $(hide) $(LLVM_RS_CC) \
-a $@ -MD \
$(foreach inc,$(PRIVATE_RS_INCLUDES),$(addprefix -I , $(inc))) \
$(PRIVATE_RS_SOURCE_FILES)
$(hide) $(LLVM_RS_LINK) \
$(PRIVATE_RS_OUTPUR_DIR)/res/raw/*.bc
$(hide) mkdir -p $(dir $@)
$(hide) touch $@
endef