Skip to content

Commit

Permalink
btl/usnic: amend Makefile.am fix from b409762
Browse files Browse the repository at this point in the history
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 <jsquyres@cisco.com>
(cherry picked from commit 1456377)
  • Loading branch information
jsquyres committed Mar 5, 2019
1 parent a9ba07b commit 8c4c982
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions opal/mca/btl/usnic/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ libmca_btl_usnic_la_LDFLAGS = \
libmca_btl_usnic_la_LIBADD = $(opal_ofi_LIBS)

if OPAL_BTL_USNIC_BUILD_UNIT_TESTS
usnic_btl_run_tests_CPPFLAGS = \
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\" \
-DOMPI_LIBMPI_NAME=\"$(OMPI_LIBMPI_NAME)\"
usnic_btl_run_tests_CPPFLAGS = $(AM_CPPFLAGS) \
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\"
usnic_btl_run_tests_SOURCES = test/usnic_btl_run_tests.c
usnic_btl_run_tests_LDADD = -ldl
bin_PROGRAMS = usnic_btl_run_tests
Expand Down

0 comments on commit 8c4c982

Please sign in to comment.