diff options
author | Loic Dachary <loic@dachary.org> | 2013-09-10 17:00:08 +0200 |
---|---|---|
committer | Loic Dachary <loic@dachary.org> | 2013-09-10 17:00:08 +0200 |
commit | 780954e21fbee21ec956e84f07c46d92fd24b78f (patch) | |
tree | bebaaa5ffe65083d80ecb196e9cdb1d8841f57e3 | |
parent | 8c76f3a0f9cf100ea2c941dc2b61c470aa5033d7 (diff) | |
download | ceph-780954e21fbee21ec956e84f07c46d92fd24b78f.tar.gz |
autoconf: use $(UNITTEST_CXXFLAGS) in tests
As suggested by Roald van Loon
https://github.com/ceph/ceph/pull/538/files#r6260751
Signed-off-by: Loic Dachary <loic@dachary.org>
-rw-r--r-- | src/test/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 72246ac748f..6a9e2cb5212 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -321,7 +321,7 @@ libec_example_la_LDFLAGS = ${AM_LDFLAGS} -export-symbols-regex '.*__erasure_code erasure_codelib_LTLIBRARIES += libec_example.la unittest_erasure_code_plugin_SOURCES = test/osd/TestErasureCodePluginExample.cc -unittest_erasure_code_plugin_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +unittest_erasure_code_plugin_CXXFLAGS = $(UNITTEST_CXXFLAGS) unittest_erasure_code_plugin_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL) if LINUX unittest_erasure_code_plugin_LDADD += -ldl @@ -331,7 +331,7 @@ check_PROGRAMS += unittest_erasure_code_plugin unittest_erasure_code_example_SOURCES = test/osd/TestErasureCodeExample.cc noinst_HEADERS += test/osd/ErasureCodeExample.h -unittest_erasure_code_example_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +unittest_erasure_code_example_CXXFLAGS = $(UNITTEST_CXXFLAGS) unittest_erasure_code_example_LDADD = $(LIBOSD) $(LIBCOMMON) $(UNITTEST_LDADD) $(CEPH_GLOBAL) check_PROGRAMS += unittest_erasure_code_example |