Accepting request 127423 from devel:libraries:c_c++
define _GNU_SOURCE for oS/SLES <= 11.4, as O_CLOEXEC is defined inside a ifdef __USE_GNU (forwarded request 127418 from dnh) OBS-URL: https://build.opensuse.org/request/show/127423 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=73
This commit is contained in:
commit
5121013b81
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 9 13:12:24 UTC 2012 - dnh@opensuse.org
|
||||||
|
|
||||||
|
- define _GNU_SOURCE for oS/SLES <= 11.4, as O_CLOEXEC is
|
||||||
|
defined inside a ifdef __USE_GNU
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 12 23:24:56 UTC 2012 - jengelh@inai.de
|
Sat May 12 23:24:56 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ autoreconf -fi
|
|||||||
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
|
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
|
||||||
# will hopefully change in the future)
|
# will hopefully change in the future)
|
||||||
sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure
|
sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure
|
||||||
%configure \
|
%configure CFLAGS="%{optflags} -D_GNU_SOURCE=1" \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
%if %{with openssl}
|
%if %{with openssl}
|
||||||
--with-ssl \
|
--with-ssl \
|
||||||
|
Loading…
Reference in New Issue
Block a user