Accepting request 846051 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/846051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ninja?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2020-11-09 12:56:11 +00:00 committed by Git OBS Bridge
commit a9cc23be04
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