Dr. Werner Fink 2023-07-28 11:52:29 +00:00 committed by Git OBS Bridge
parent 020646c374
commit df097d6f94
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 28 11:51:24 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- On 342bit systems define _TIME_BITS=64 to make it build
-------------------------------------------------------------------
Fri Jul 28 09:48:53 UTC 2023 - Dr. Werner Fink <werner@suse.de>

View File

@ -135,7 +135,12 @@ export LC_ALL=POSIX
rm -f Magdir/*,v Magdir/*~
rm -f ltcf-c.sh ltconfig ltmain.sh
autoreconf -fiv
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags)"
REQ64="$(getconf LFS_CFLAGS)"
if test -n "${REQ64}"
then
REQ64="${REQ64} -D_TIME_BITS=64"
fi
export CFLAGS="%{optflags} -DHOWMANY=69632 -fPIE $(pkg-config libseccomp --cflags) ${REQ64}"
%configure --disable-silent-rules --datadir=%{magicdir} \
--disable-static \
--enable-fsect-man5