Fix thinko in LDFLAG patch
Resolves: rhbz#2044858
This commit is contained in:
parent
212d1fbc82
commit
eb549ed7de
@ -21,7 +21,7 @@ index 76eb0d7d..00e79539 100644
|
|||||||
$$($(1)_OBJS): CFLAGS := -fPIC $$($(1)_CFLAGS) $(CFLAGS)
|
$$($(1)_OBJS): CFLAGS := -fPIC $$($(1)_CFLAGS) $(CFLAGS)
|
||||||
engines/fio-$(1).so: $$($(1)_OBJS)
|
engines/fio-$(1).so: $$($(1)_OBJS)
|
||||||
- $$(QUIET_LINK)$(CC) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS)
|
- $$(QUIET_LINK)$(CC) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS)
|
||||||
+ $$(QUIET_LINK)$(CC) $(DYNAMIC) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS)
|
+ $$(QUIET_LINK)$(CC) $(LDFLAGS) -shared -rdynamic -fPIC -Wl,-soname,fio-$(1).so.1 -o $$@ $$< $$($(1)_LIBS)
|
||||||
ENGS_OBJS += engines/fio-$(1).so
|
ENGS_OBJS += engines/fio-$(1).so
|
||||||
endef
|
endef
|
||||||
else # !CONFIG_DYNAMIC_ENGINES
|
else # !CONFIG_DYNAMIC_ENGINES
|
||||||
|
4
fio.spec
4
fio.spec
@ -1,6 +1,6 @@
|
|||||||
Name: fio
|
Name: fio
|
||||||
Version: 3.27
|
Version: 3.27
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Multithreaded IO generation tool
|
Summary: Multithreaded IO generation tool
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -211,7 +211,7 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 04 2022 Eric Sandeen <sandeen@redhat.com> - 3.27.6
|
* Tue Feb 08 2022 Eric Sandeen <sandeen@redhat.com> - 3.27.7
|
||||||
- Use LDFLAGS when linking dynamic engines
|
- Use LDFLAGS when linking dynamic engines
|
||||||
Related: rhbz#2044858
|
Related: rhbz#2044858
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user