Home | History | Annotate | Download | only in mclinker
      1 include $(LLVM_HOST_BUILD_MK)
      2 
      3 LOCAL_CFLAGS := \
      4   -include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \
      5   $(LOCAL_CFLAGS)
      6 
      7 LOCAL_CPPFLAGS := \
      8   $(LOCAL_CPPFLAGS) \
      9   -Wno-unused-private-field \
     10   -Wno-unused-const-variable \
     11   -Wall
     12 
     13 ifeq ($(MCLD_ENABLE_ASSERTION),true)
     14   LOCAL_CPPFLAGS += \
     15     -D_DEBUG \
     16     -UNDEBUG
     17 endif
     18 
     19 LOCAL_CLANG := true
     20 
     21 ifeq ($(HOST_OS),darwin)
     22 LOCAL_CFLAGS += -DDARWIN_FLEX=1
     23 endif
     24 
     25 LOCAL_C_INCLUDES := \
     26   $(MCLD_ROOT_PATH)/include \
     27   $(LLVM_ROOT_PATH) \
     28   $(LLVM_ROOT_PATH)/include \
     29   $(LLVM_ROOT_PATH)/host/include \
     30   $(LOCAL_C_INCLUDES)
     31 
     32 LOCAL_IS_HOST_MODULE := true
     33