Commit 45d2c5e0 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] use $(BOOST_MAPPED_FILE_CXXFLAG) for in-memory datasrc tests.

one of the tests directly uses the boost mapped_file_segment class, which can
result in compiler warnings on some platforms.
parent 9d7bd127
......@@ -8,6 +8,14 @@ AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_builddir)\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
if USE_SHARED_MEMORY
# See src/lib/util/Makefile.am. We need this because some tests directly
# use the Boost managed_mapped_file. It's not ideal to deal with it as
# a module-wide flag, but considering it's for tests and only for limited
# environments, it would still be better to introduce more complicated setup.
AM_CXXFLAGS += $(BOOST_MAPPED_FILE_CXXFLAG)
endif
if USE_STATIC_LINK
AM_LDFLAGS = -static
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment