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:
Ismail Dönmez 2012-07-12 10:11:44 +00:00 committed by Git OBS Bridge
commit 5121013b81
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -98,7 +98,7 @@ autoreconf -fi
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
# will hopefully change in the future)
sed -i 's/link_all_deplibs=unknown/link_all_deplibs=no/' configure
%configure \
%configure CFLAGS="%{optflags} -D_GNU_SOURCE=1" \
--enable-ipv6 \
%if %{with openssl}
--with-ssl \