- use CFLAGS when linking (#445682)

This commit is contained in:
Miroslav Lichvar 2008-06-27 12:17:53 +00:00
parent c7406839ed
commit b58c0a11f0
2 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@
+all: libpcap.a libpcap.so.$(VERSION)
+
+libpcap.so.$(VERSION): $(OBJ)
+ gcc -shared -Wl,-soname -Wl,libpcap.so.$(SOVERSION) -o libpcap.so.$(VERSION) $(OBJ)
+ gcc -shared -Wl,-soname -Wl,libpcap.so.$(SOVERSION) $(CFLAGS) -o libpcap.so.$(VERSION) $(OBJ)
libpcap.a: $(OBJ)
@rm -f $@

View File

@ -3,7 +3,7 @@
Name: libpcap
Epoch: 14
Version: 0.9.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A system-independent interface for user-level packet capture
Group: Development/Libraries
License: BSD with advertising
@ -84,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/pcap.3*
%changelog
* Fri Jun 27 2008 Miroslav Lichvar <mlichvar@redhat.com> 14:0.9.8-3
- use CFLAGS when linking (#445682)
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 14:0.9.8-2
- Autorebuild for GCC 4.3