SHA256
1
0
forked from pool/xmlrpc-c

disable as-needed on suse < 10.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=55
This commit is contained in:
Pascal Bleser 2009-09-28 14:16:20 +00:00 committed by Git OBS Bridge
parent 5abb4f844e
commit 1e26336311

View File

@ -119,6 +119,12 @@ Authors:
%setup -q
%patch0 -p1 -b .sizet
%patch1 -p0 -b .asneeded
%if 0%{?suse_version} < 1000
%__grep '^\+\+\+ ' "%{PATCH1}" | cut -f2 -d" " \
| while read f; do
%__sed -i 's|-Wl,--as-needed||g' "$f"
done
%endif
%build
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"