Skip to content

Commit a16b03f

Browse files
committed
btl/usnic: amend Makefile.am fix from b409762
Use $(AM_CPPFLAGS) in $(usnic_btl_run_tests_CPPFLAGS) so that we don't have to replicate hard-coded values. Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit 1456377)
1 parent be47fbe commit a16b03f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

opal/mca/btl/usnic/Makefile.am

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,8 @@ libmca_btl_usnic_la_LDFLAGS = \
107107
libmca_btl_usnic_la_LIBADD = $(opal_ofi_LIBS)
108108

109109
if OPAL_BTL_USNIC_BUILD_UNIT_TESTS
110-
usnic_btl_run_tests_CPPFLAGS = \
111-
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\" \
112-
-DOMPI_LIBMPI_NAME=\"$(OMPI_LIBMPI_NAME)\"
110+
usnic_btl_run_tests_CPPFLAGS = $(AM_CPPFLAGS) \
111+
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\"
113112
usnic_btl_run_tests_SOURCES = test/usnic_btl_run_tests.c
114113
usnic_btl_run_tests_LDADD = -ldl
115114
bin_PROGRAMS = usnic_btl_run_tests

0 commit comments

Comments
 (0)