Home | History | Annotate | Download | only in mclinker
      1 include $(LLVM_HOST_BUILD_MK)
      2 
      3 LOCAL_CPPFLAGS :=	\
      4 	$(LOCAL_CPPFLAGS)	\
      5   -Wformat  \
      6   -Werror=format-security \
      7   -Werror=return-type \
      8   -Werror=non-virtual-dtor  \
      9   -Werror=address \
     10   -Werror=sequence-point  \
     11 	-Woverloaded-virtual	\
     12 	-Wno-sign-promo
     13 
     14 ifeq ($(MCLD_ENABLE_ASSERTION),true)
     15   LOCAL_CPPFLAGS += \
     16     -D_DEBUG  \
     17     -UNDEBUG
     18 endif
     19 
     20 LOCAL_C_INCLUDES :=	\
     21   $(MCLD_ROOT_PATH)/include \
     22 	$(LLVM_ROOT_PATH)	\
     23 	$(LLVM_ROOT_PATH)/include	\
     24 	$(LLVM_ROOT_PATH)/host/include	\
     25 	$(LOCAL_C_INCLUDES)
     26 
     27 LOCAL_IS_HOST_MODULE := true
     28