From 5afc25623e213f639403cf31f959a430bc565c92 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 7 Sep 2015 23:19:51 +0900 Subject: [PATCH] Pass CFLAGS, CXXFLAGS and LDFLAGS to mruby build --- third-party/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third-party/Makefile.am b/third-party/Makefile.am index cdabf30c..d740af36 100644 --- a/third-party/Makefile.am +++ b/third-party/Makefile.am @@ -40,6 +40,8 @@ mruby: MRUBY_CONFIG="${srcdir}/build_config.rb" \ BUILD_DIR="${abs_builddir}/mruby/build" \ CC="${CC}" CXX="${CXX}" LD="${LD}" \ + CFLAGS="${CPPFLAGS} ${CFLAGS}" CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ "${srcdir}/mruby/minirake" -f "${srcdir}/mruby/Rakefile" all-local: mruby