curl: force use of gmtime_r
This commit is contained in:
parent
bbb49293d1
commit
b17ca1ac56
@ -1,7 +1,7 @@
|
||||
# Template file for 'curl'
|
||||
pkgname=curl
|
||||
version=7.76.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
|
||||
@ -27,6 +27,9 @@ build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
|
||||
build_options_default="ssh ssl zstd"
|
||||
vopt_conflict ssl gnutls
|
||||
|
||||
# force usage of gmtime_r, fix in https://github.com/curl/curl/pull/6859
|
||||
CFLAGS="-DHAVE_GMTIME_R -DTIME_WITH_SYS_TIME"
|
||||
|
||||
pre_configure() {
|
||||
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user