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:
parent
5abb4f844e
commit
1e26336311
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user