From ec20c8fb430b0fb7788ddcd6da39de544ac97f24 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 5 Jan 2021 23:55:34 +0100 Subject: [PATCH] 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 -- 2.44.0