Home | History | Annotate | Download | only in clang
      1 
      2 include $(BUILD_SYSTEM)/clang/x86.mk
      3 
      4 CLANG_CONFIG_x86_HOST_CROSS_TRIPLE := i686-pc-mingw32
      5 
      6 CLANG_CONFIG_x86_HOST_CROSS_EXTRA_ASFLAGS := \
      7   $(CLANG_CONFIG_EXTRA_ASFLAGS) \
      8   $(CLANG_CONFIG_HOST_CROSS_EXTRA_ASFLAGS) \
      9   $(CLANG_CONFIG_x86_EXTRA_ASFLAGS) \
     10   $(CLANG_CONFIG_x86_HOST_CROSS_COMBO_EXTRA_ASFLAGS) \
     11   -target $(CLANG_CONFIG_x86_HOST_CROSS_TRIPLE)
     12 
     13 CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CFLAGS := \
     14   $(CLANG_CONFIG_EXTRA_CFLAGS) \
     15   $(CLANG_CONFIG_HOST_CROSS_EXTRA_CFLAGS) \
     16   $(CLANG_CONFIG_x86_EXTRA_CFLAGS) \
     17   $(CLANG_CONFIG_x86_HOST_CROSS_COMBO_EXTRA_CFLAGS) \
     18   $(CLANG_CONFIG_x86_HOST_CROSS_EXTRA_ASFLAGS)
     19 
     20 CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CONLYFLAGS := \
     21   $(CLANG_CONFIG_EXTRA_CONLYFLAGS) \
     22   $(CLANG_CONFIG_HOST_CROSS_EXTRA_CONLYFLAGS) \
     23   $(CLANG_CONFIG_x86_EXTRA_CONLYFLAGS) \
     24   $(CLANG_CONFIG_x86_HOST_CROSS_COMBO_EXTRA_CONLYFLAGS)
     25 
     26 CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CPPFLAGS := \
     27   $(CLANG_CONFIG_EXTRA_CPPFLAGS) \
     28   $(CLANG_CONFIG_HOST_CROSS_EXTRA_CPPFLAGS) \
     29   $(CLANG_CONFIG_x86_EXTRA_CPPFLAGS) \
     30   $(CLANG_CONFIG_x86_HOST_CROSS_COMBO_EXTRA_CPPFLAGS) \
     31   -target $(CLANG_CONFIG_x86_HOST_CROSS_TRIPLE)
     32 
     33 CLANG_CONFIG_x86_HOST_CROSS_EXTRA_LDFLAGS := \
     34   $(CLANG_CONFIG_EXTRA_LDFLAGS) \
     35   $(CLANG_CONFIG_HOST_CROSS_EXTRA_LDFLAGS) \
     36   $(CLANG_CONFIG_x86_EXTRA_LDFLAGS) \
     37   $(CLANG_CONFIG_x86_HOST_CROSS_COMBO_EXTRA_LDFLAGS) \
     38   -target $(CLANG_CONFIG_x86_HOST_CROSS_TRIPLE)
     39 
     40 $(clang_2nd_arch_prefix)CLANG_HOST_CROSS_GLOBAL_CFLAGS := \
     41   $(call convert-to-host-clang-flags,$($(clang_2nd_arch_prefix)HOST_CROSS_GLOBAL_CFLAGS)) \
     42   $(CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CFLAGS)
     43 
     44 $(clang_2nd_arch_prefix)CLANG_HOST_CROSS_GLOBAL_CONLYFLAGS := \
     45   $(call convert-to-host-clang-flags,$($(clang_2nd_arch_prefix)HOST_CROSS_GLOBAL_CONLYFLAGS)) \
     46   $(CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CONLYFLAGS)
     47 
     48 $(clang_2nd_arch_prefix)CLANG_HOST_CROSS_GLOBAL_CPPFLAGS := \
     49   $(call convert-to-host-clang-flags,$($(clang_2nd_arch_prefix)HOST_CROSS_GLOBAL_CPPFLAGS)) \
     50   $(CLANG_CONFIG_x86_HOST_CROSS_EXTRA_CPPFLAGS)
     51 
     52 $(clang_2nd_arch_prefix)CLANG_HOST_CROSS_GLOBAL_LDFLAGS := \
     53   $(call convert-to-host-clang-flags,$($(clang_2nd_arch_prefix)HOST_CROSS_GLOBAL_LDFLAGS)) \
     54   $(CLANG_CONFIG_x86_HOST_CROSS_EXTRA_LDFLAGS)
     55 
     56 $(clang_2nd_arch_prefix)HOST_CROSS_LIBPROFILE_RT := $(LLVM_RTLIB_PATH)/libclang_rt.profile-i686.a
     57