Accepting request 1105488 from home:jengelh:branches:graphics

- Add -DNDEBUG to CFLAGS explicitly, since the i586 build depends
  on it. [needed for https://build.opensuse.org/request/show/1104274]

OBS-URL: https://build.opensuse.org/request/show/1105488
OBS-URL: https://build.opensuse.org/package/show/graphics/lib2geom?expand=0&rev=19
This commit is contained in:
Michael Vetter 2023-08-23 14:37:29 +00:00 committed by Git OBS Bridge
parent 2b7f416249
commit 9e41f33f15
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 \