Skip to content

Commit 8b2d804

Browse files
authored
Merge pull request #6450 from ggouaillardet/topic/v4.0.x/usnic_test
v4.0.x: btl/usnic: fix usnic_btl_run_tests CPPFLAGS
2 parents 28e07b6 + 8c4c982 commit 8b2d804

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/btl/usnic/Makefile.am

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
1717
# Copyright (c) 2017 Los Alamos National Security, LLC. All rights
1818
# reserved.
19+
# Copyright (c) 2019 Research Organization for Information Science
20+
# and Technology (RIST). All rights reserved.
1921
# $COPYRIGHT$
2022
#
2123
# Additional copyrights may follow
@@ -102,7 +104,7 @@ libmca_btl_usnic_la_LDFLAGS = \
102104
libmca_btl_usnic_la_LIBADD = $(opal_ofi_LIBS)
103105

104106
if OPAL_BTL_USNIC_BUILD_UNIT_TESTS
105-
usnic_btl_run_tests_CPPFLAGS = \
107+
usnic_btl_run_tests_CPPFLAGS = $(AM_CPPFLAGS) \
106108
-DBTL_USNIC_RUN_TESTS_SYMBOL=\"opal_btl_usnic_run_tests\"
107109
usnic_btl_run_tests_SOURCES = test/usnic_btl_run_tests.c
108110
usnic_btl_run_tests_LDADD = -ldl

0 commit comments

Comments
 (0)