blob: e58868b833d940556935bcbdd1965d4bc176d000 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
LOCAL_PATH:= $(call my-dir)
llvm_as_SRC_FILES := \
llvm-as.cpp
include $(CLEAR_VARS)
LOCAL_MODULE := llvm-as
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(llvm_as_SRC_FILES)
LOCAL_LDLIBS += -lm
ifdef USE_MINGW
LOCAL_LDLIBS += -limagehlp
else
LOCAL_LDLIBS += -lpthread -ldl
endif
REQUIRES_EH := 1
REQUIRES_RTTI := 1
LOCAL_STATIC_LIBRARIES := \
libLLVMAsmParser \
libLLVMBitWriter \
libLLVMCore \
libLLVMSupport
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)
|