SHA256
1
0
forked from pool/ninja

Accepting request 846041 from home:lnussel:usrmove

- LFS fix for 32bit arch builds (gh#ninja-build/ninja#829)

OBS-URL: https://build.opensuse.org/request/show/846041
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=51
This commit is contained in:
Martin Pluskal 2020-11-04 17:02:12 +00:00 committed by Git OBS Bridge
parent 90c28b79a1
commit e18e581447
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 4 16:33:12 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- LFS fix for 32bit arch builds (gh#ninja-build/ninja#829)
-------------------------------------------------------------------
Mon Aug 24 20:25:43 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -40,7 +40,10 @@ building them, quickly.
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%if "%__isa_bits" == "32"
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
%endif
export CXXFLAGS="$CFLAGS"
python3 ./configure.py --bootstrap --verbose
%install