Pass CFLAGS, CXXFLAGS and LDFLAGS to mruby build

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-07 23:19:51 +09:00
parent 3ce1c1d39f
commit 5afc25623e
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ mruby:
MRUBY_CONFIG="${srcdir}/build_config.rb" \ MRUBY_CONFIG="${srcdir}/build_config.rb" \
BUILD_DIR="${abs_builddir}/mruby/build" \ BUILD_DIR="${abs_builddir}/mruby/build" \
CC="${CC}" CXX="${CXX}" LD="${LD}" \ CC="${CC}" CXX="${CXX}" LD="${LD}" \
CFLAGS="${CPPFLAGS} ${CFLAGS}" CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" \
"${srcdir}/mruby/minirake" -f "${srcdir}/mruby/Rakefile" "${srcdir}/mruby/minirake" -f "${srcdir}/mruby/Rakefile"
all-local: mruby all-local: mruby