Use LDFLAGS from redhat-rpm-config

This commit is contained in:
Florian Weimer 2018-02-23 16:23:06 +01:00
parent a0cc21923b
commit 881e9241f3

View File

@ -2,7 +2,7 @@
Name: usb_modeswitch
Version: 2.5.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: USB Modeswitch gets mobile broadband cards in operational mode
Summary(de): USB Modeswitch aktiviert UMTS-Karten
Group: Applications/System
@ -55,7 +55,8 @@ cp -f %{SOURCE1} device_reference.txt
%build
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
%{set_build_flags}
make %{?_smp_mflags}
%install
@ -78,6 +79,9 @@ make install \
%changelog
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 2.5.1-3
- Use LDFLAGS from redhat-rpm-config
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild