3 -D__STDC_LIMIT_MACROS \
4 -D__STDC_CONSTANT_MACROS \
9 -Wno-unused-parameter \
13 ifneq ($(TARGET_SIMULATOR),true)
14 # The three inline options together reduce libbcc.so almost 1MB.
15 # We move them from global build/core/combo/TARGET_linux-arm.mk
17 LOCAL_CFLAGS := -DANDROID_TARGET_BUILD \
20 -fno-inline-functions-called-once \
24 ifeq ($(LLVM_ENABLE_ASSERTION),true)
31 ifneq ($(REQUIRES_EH),1)
32 LOCAL_CFLAGS += -fno-exceptions
34 # No action. The device target should not have exception enabled since bionic
39 ifneq ($(REQUIRES_RTTI),1)
40 LOCAL_CPPFLAGS += -fno-rtti
47 -Woverloaded-virtual \
50 # Make sure bionic is first so we can include system headers.
53 $(LLVM_ROOT_PATH)/include \
54 $(LLVM_ROOT_PATH)/device/include \
57 ifneq ($(TARGET_SIMULATOR),true)
60 external/stlport/stlport \
64 ###########################################################
65 ## Commands for running tblgen to compile a td file
66 ###########################################################
67 define transform-device-td-to-out
69 @echo "Device TableGen (gen-$(1)): $(LOCAL_MODULE) <= $<"
72 -I $(LLVM_ROOT_PATH)/include \
73 -I $(LLVM_ROOT_PATH)/device/include \
74 -I $(LLVM_ROOT_PATH)/lib/Target \