Skip to content

Commit

Permalink
Add LDFLAGS to op/rocm linker command
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Jul 1, 2024
1 parent ea5a6df commit b56ab0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/op/rocm/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mcacomponent_LTLIBRARIES = $(component_install)
mca_op_rocm_la_SOURCES = $(sources)
mca_op_rocm_la_LIBADD = $(rocm_sources:.cpp=.lo)
mca_op_rocm_la_LDFLAGS = -module -avoid-version $(top_builddir)/ompi/lib@[email protected] \
$(op_rocm_LIBS)
$(op_rocm_LDFLAGS) $(op_rocm_LIBS)
EXTRA_mca_op_rocm_la_SOURCES = $(rocm_sources)

# Specific information for static builds.
Expand All @@ -77,6 +77,6 @@ noinst_LTLIBRARIES = $(component_noinst)
libmca_op_rocm_la_SOURCES = $(sources)
libmca_op_rocm_la_LIBADD = $(rocm_sources:.cpp=.lo)
libmca_op_rocm_la_LDFLAGS = -module -avoid-version\
$(op_rocm_LIBS)
$(op_rocm_LDFLAGS) $(op_rocm_LIBS)
EXTRA_libmca_op_rocm_la_SOURCES = $(rocm_sources)

0 comments on commit b56ab0a

Please sign in to comment.