[packages/socat] enable LFS

atler atler at pld-linux.org
Wed Jan 6 00:00:18 CET 2021


commit ec20c8fb430b0fb7788ddcd6da39de544ac97f24
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 5 23:55:34 2021 +0100

    enable LFS

 socat.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/socat.git/commitdiff/ec20c8fb430b0fb7788ddcd6da39de544ac97f24



More information about the pld-cvs-commit mailing list