diff --git a/libtool.spec b/libtool.spec index c7a9cf4ea76c39f8e96643617a5f0b88e148514e..bb027a08a794f53840ee0cb8182145a63adc483c 100644 --- a/libtool.spec +++ b/libtool.spec @@ -3,7 +3,7 @@ Name: libtool Version: 2.4.7 -Release: 2 +Release: 3 License: GPLv2+ and LGPLv2+ and GFDL-1.3-or-later Summary: The GNU Portable Library Tool URL: http://www.gnu.org/software/libtool/ @@ -59,6 +59,10 @@ export FCFLAGS=$(echo "$RPM_OPT_FLAGS -I/usr/lib64/gfortran/modules"| sed 's/-fs export FFLAGS="$RPM_OPT_FLAGS -fPIE" export FCFLAGS="$RPM_OPT_FLAGS -fPIE" %endif +%ifarch riscv64 +export FFLAGS="$RPM_OPT_FLAGS -fPIC" +export FCFLAGS="$RPM_OPT_FLAGS -fPIC" +%endif %configure @@ -102,6 +106,9 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la} %changelog +* Tue Jun 06 2023 laokz - 2.4.7-3 +- add -fPIC to fortran flags for riscv + *Thu Feb 02 2023 renhongxun - 2.4.7-2 - backport: tests/link-order.at: avoid warning and test failure with GNU grep 3.8