From 9e41f33f15c8550e9f6a0662b64e7d3f6e93e4773f77af3157d9de5904c91d0e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 23 Aug 2023 14:37:29 +0000 Subject: [PATCH] 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 --- lib2geom.changes | 6 ++++++ lib2geom.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib2geom.changes b/lib2geom.changes index ba2321a..7c01900 100644 --- a/lib2geom.changes +++ b/lib2geom.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 23 13:38:04 UTC 2023 - Jan Engelhardt + +- Add -DNDEBUG to CFLAGS explicitly, since the i586 build depends + on it. + ------------------------------------------------------------------- Thu Jul 27 20:40:32 UTC 2023 - Dirk Stoecker diff --git a/lib2geom.spec b/lib2geom.spec index 5977784..963341b 100644 --- a/lib2geom.spec +++ b/lib2geom.spec @@ -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 \