From b58c0a11f0fe31d52d2ce047c77bbcb5de92ba24 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Jun 27 2008 12:17:53 +0000 Subject: - use CFLAGS when linking (#445682) --- diff --git a/libpcap-0.9.7-shared.patch b/libpcap-0.9.7-shared.patch index 0745d00..92fc0d5 100644 --- a/libpcap-0.9.7-shared.patch +++ b/libpcap-0.9.7-shared.patch @@ -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 $@ diff --git a/libpcap.spec b/libpcap.spec index 3b636dd..46ae146 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -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 14:0.9.8-3 +- use CFLAGS when linking (#445682) + * Tue Feb 19 2008 Fedora Release Engineering - 14:0.9.8-2 - Autorebuild for GCC 4.3