make/common/NativeCompilation.gmk
changeset 34102 c0a98357f847
parent 33568 b0459b292c36
child 34117 afc734a1cf3b
equal deleted inserted replaced
34101:a1db3b482137 34102:c0a98357f847
   118 
   118 
   119 # Create a toolchain with the BUILD compiler, used for build tools that
   119 # Create a toolchain with the BUILD compiler, used for build tools that
   120 # are to be run during the build.
   120 # are to be run during the build.
   121 # The BUILD_SYSROOT_*FLAGS variables are empty for now.
   121 # The BUILD_SYSROOT_*FLAGS variables are empty for now.
   122 $(eval $(call DefineNativeToolchain, TOOLCHAIN_BUILD, \
   122 $(eval $(call DefineNativeToolchain, TOOLCHAIN_BUILD, \
   123     EXTENDS := TOOLCHAIN_DEFAULT, \
       
   124     CC := $(BUILD_CC), \
   123     CC := $(BUILD_CC), \
       
   124     CXX := $(BUILD_CXX), \
   125     LD := $(BUILD_LD), \
   125     LD := $(BUILD_LD), \
       
   126     AR := $(BUILD_AR), \
       
   127     AS := $(BUILD_AS), \
   126     SYSROOT_CFLAGS := $(BUILD_SYSROOT_CFLAGS), \
   128     SYSROOT_CFLAGS := $(BUILD_SYSROOT_CFLAGS), \
   127     SYSROOT_LDFLAGS := $(BUILD_SYSROOT_LDFLAGS), \
   129     SYSROOT_LDFLAGS := $(BUILD_SYSROOT_LDFLAGS), \
   128 ))
   130 ))
   129 
   131 
   130 ################################################################################
   132 ################################################################################