From 0234e8c80d87c1fa7b1f32407b0b847300238579 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Tue, 15 Jan 2013 14:13:16 +0900 Subject: [PATCH] mruby: add MRUBY_CFLAGS to build options --- plugins/suggest/Makefile.am | 7 +++++-- plugins/table/Makefile.am | 7 +++++-- src/Makefile.am | 3 ++- src/suggest/Makefile.am | 5 ++++- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/plugins/suggest/Makefile.am b/plugins/suggest/Makefile.am index 19c5001744..08c51dfc79 100644 --- a/plugins/suggest/Makefile.am +++ b/plugins/suggest/Makefile.am @@ -1,11 +1,14 @@ EXTRA_DIST = \ CMakeLists.txt +AM_CFLAGS = \ + $(MESSAGE_PACK_CFLAGS) \ + $(MRUBY_CFLAGS) + INCLUDES = \ -I$(top_builddir) \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/lib \ - $(MESSAGE_PACK_CFLAGS) + -I$(top_srcdir)/lib AM_LDFLAGS = \ -avoid-version \ diff --git a/plugins/table/Makefile.am b/plugins/table/Makefile.am index 37db668d78..5eb16a9e9f 100644 --- a/plugins/table/Makefile.am +++ b/plugins/table/Makefile.am @@ -1,11 +1,14 @@ EXTRA_DIST = \ CMakeLists.txt +AM_CFLAGS = \ + $(MESSAGE_PACK_CFLAGS) \ + $(MRUBY_CFLAGS) + INCLUDES = \ -I$(top_builddir) \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/lib \ - $(MESSAGE_PACK_CFLAGS) + -I$(top_srcdir)/lib AM_LDFLAGS = \ -avoid-version \ diff --git a/src/Makefile.am b/src/Makefile.am index 06de55f1d7..04d518f35f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,7 +13,8 @@ AM_CFLAGS = \ $(NO_STRICT_ALIASING_CFLAGS) \ $(COVERAGE_CFLAGS) \ $(GRN_CFLAGS) \ - $(MESSAGE_PACK_CFLAGS) + $(MESSAGE_PACK_CFLAGS) \ + $(MRUBY_CFLAGS) DEFS += $(GRN_DEFS) AM_LDFLAGS = -no-undefined diff --git a/src/suggest/Makefile.am b/src/suggest/Makefile.am index 048fdd93c9..cecf4001e9 100644 --- a/src/suggest/Makefile.am +++ b/src/suggest/Makefile.am @@ -21,7 +21,10 @@ EXTRA_DIST = \ AM_CFLAGS = \ $(NO_STRICT_ALIASING_CFLAGS) \ $(COVERAGE_CFLAGS) \ - $(GRN_CFLAGS) + $(GRN_CFLAGS) \ + $(MESSAGE_PACK_CFLAGS) \ + $(MRUBY_CFLAGS) + DEFS += $(GRN_DEFS) AM_LDFLAGS = -no-undefined