Skip to content

Commit

Permalink
mruby: add MRUBY_CFLAGS to build options
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 15, 2013
1 parent b05b7d2 commit 0234e8c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
7 changes: 5 additions & 2 deletions 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 \
Expand Down
7 changes: 5 additions & 2 deletions 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 \
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.am
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion src/suggest/Makefile.am
Expand Up @@ -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
Expand Down

0 comments on commit 0234e8c

Please sign in to comment.