Dominique Leuenberger 2023-09-02 20:07:11 +00:00 committed by Git OBS Bridge
commit 5c593fb885
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 23 13:38:04 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Add -DNDEBUG to CFLAGS explicitly, since the i586 build depends
on it.
-------------------------------------------------------------------
Thu Jul 27 20:40:32 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@ -70,7 +70,8 @@ needed to develop applications that require %{name}.
%autosetup -n %{name}-%{short_version} -p1
%build
%global optflags %optflags -fexcess-precision=fast
export CFLAGS="%optflags -fexcess-precision=fast -DNDEBUG"
export CXXFLAGS="$CFLAGS"
%cmake -Wno-dev \
-D2GEOM_BUILD_SHARED:BOOL=ON \
-D2GEOM_TOYS:BOOL=OFF \