From: Jan Palus Date: Tue, 5 Jan 2021 22:55:34 +0000 (+0100) Subject: enable LFS X-Git-Tag: auto/th/socat-1.7.4.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=ec20c8fb430b0fb7788ddcd6da39de544ac97f24;p=packages%2Fsocat.git enable LFS --- diff --git a/socat.spec b/socat.spec index d774f1f..504a1ea 100644 --- a/socat.spec +++ b/socat.spec @@ -57,7 +57,8 @@ sed -i -e 's#-lssl#-lssl -lcrypto#g' configure* %{__libtoolize} %{__aclocal} %{__autoconf} -%configure +%configure \ + CFLAGS="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" %{__make} %install