3 -D__STDC_LIMIT_MACROS \
4 -D__STDC_CONSTANT_MACROS \
5 -D__STDC_FORMAT_MACROS \
10 -Wno-unused-parameter \
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 \
23 ifeq ($(LLVM_ENABLE_ASSERTION),true)
30 ifneq ($(REQUIRES_EH),1)
31 LOCAL_CFLAGS += -fno-exceptions
33 # No action. The device target should not have exception enabled since bionic
38 ifneq ($(REQUIRES_RTTI),1)
39 LOCAL_CPPFLAGS += -fno-rtti
46 -Woverloaded-virtual \
49 # Make sure bionic is first so we can include system headers.
52 external/stlport/stlport \
54 $(LLVM_ROOT_PATH)/include \
55 $(LLVM_ROOT_PATH)/device/include \
58 ###########################################################
59 ## Commands for running tblgen to compile a td file
60 ###########################################################
61 define transform-device-td-to-out
63 @echo "Device TableGen (gen-$(1)): $(LOCAL_MODULE) <= $<"
66 -I $(LLVM_ROOT_PATH)/include \
67 -I $(LLVM_ROOT_PATH)/device/include \
68 -I $(LLVM_ROOT_PATH)/lib/Target \