From 8f5f8ca566fa01d2dcabc23cce373fb8cc76ec4e Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Sun, 12 Nov 2017 13:14:04 +0100 Subject: [PATCH] Remove bogus rpath --- mpich.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mpich.spec b/mpich.spec index 26dc38c..599e3ea 100644 --- a/mpich.spec +++ b/mpich.spec @@ -167,8 +167,12 @@ mpich support for Python 3. # FCFLAGS="%{?opt_fc_fflags} -I%{_fmoddir}/%{name} %{?XFLAGS}" \ +# Remove rpath +sed -r -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -r -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + #Try and work around 'unused-direct-shlib-dependency' rpmlint warnning -sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +sed -i -e 's| -shared | -Wl,--as-needed\0|g' libtool %make_build VERBOSE=1 @@ -267,6 +271,7 @@ make check VERBOSE=1 * Sun Nov 12 2017 Zbigniew Jędrzejewski-Szmek - 3.2.1-2 - Update $modincdir in mpifort after moving .mod files (#1301533) - Move compiler wrappers to mpich-devel (#1353621) +- Remove bogus rpath (#1361586) * Sun Nov 12 2017 Zbigniew Jędrzejewski-Szmek - 3.2.1-1 - Update to latest bugfix release (#1512188)