Pass CFLAGS, CXXFLAGS and LDFLAGS to mruby build
This commit is contained in:
parent
3ce1c1d39f
commit
5afc25623e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue