3 -D__STDC_LIMIT_MACROS \
4 -D__STDC_CONSTANT_MACROS \
9 -Wno-unused-parameter \
13 # The three inline options together reduce libbcc.so almost 1MB.
14 # We move them from global build/core/combo/TARGET_linux-arm.mk
16 LOCAL_CFLAGS := -DANDROID_TARGET_BUILD \
19 -fno-inline-functions-called-once \
22 ifeq ($(LLVM_ENABLE_ASSERTION),true)
29 ifneq ($(REQUIRES_EH),1)
30 LOCAL_CFLAGS += -fno-exceptions
32 # No action. The device target should not have exception enabled since bionic
37 ifneq ($(REQUIRES_RTTI),1)
38 LOCAL_CPPFLAGS += -fno-rtti
45 -Woverloaded-virtual \
48 # Make sure bionic is first so we can include system headers.
51 external/stlport/stlport \
53 $(LLVM_ROOT_PATH)/include \
54 $(LLVM_ROOT_PATH)/device/include \
57 ###########################################################
58 ## Commands for running tblgen to compile a td file
59 ###########################################################
60 define transform-device-td-to-out
62 @echo "Device TableGen (gen-$(1)): $(LOCAL_MODULE) <= $<"
65 -I $(LLVM_ROOT_PATH)/include \
66 -I $(LLVM_ROOT_PATH)/device/include \
67 -I $(LLVM_ROOT_PATH)/lib/Target \