this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use TARGET_CC as the ultimate linker in mruby builds

Some toolchains seem to work better this way.

+3 -4
+2 -3
CMakeLists.txt
··· 262 262 BUILD_IN_SOURCE TRUE 263 263 BUILD_COMMAND 264 264 ${RAKE} "MRUBY_CONFIG=${MRUBY_CONFIG}" 265 - "TARGET_CC=${CMAKE_C_COMPILER}" 266 - "TARGET_LD=${CMAKE_C_LINK_EXECUTABLE}" 267 - "TARGET_AR=${CMAKE_AR}" 265 + "TARGET_CC=\"${CMAKE_C_COMPILER}\"" 266 + "TARGET_AR=\"${CMAKE_AR}\"" 268 267 "TARGET_CFLAGS=${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${BUILD_TYPE_UC}}" 269 268 "TARGET_LDFLAGS=${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_LINKER_FLAGS_${BUILD_TYPE_UC}}" 270 269 "BUILD_TYPE=${BUILD_TYPE_UC}"
+1 -1
mruby/tic_default.rb
··· 23 23 end 24 24 25 25 conf.linker do |linker| 26 - linker.command = ENV['TARGET_LD'] || 'ld' 26 + linker.command = ENV['TARGET_CC'] || 'cc' 27 27 linker.flags = [ENV['TARGET_LDFLAGS'] || %w()] 28 28 end 29 29