Reverting last change, needs discussion

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=19
This commit is contained in:
Fabian Vogt 2023-09-12 08:46:49 +00:00 committed by Git OBS Bridge
parent c26be24f00
commit c513d918db
2 changed files with 0 additions and 7 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue Aug 22 22:39:31 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Force-add -DNDEBUG to CFLAGS; libphonenumber relies on it.
-------------------------------------------------------------------
Mon Jun 26 09:00:14 UTC 2023 - Fabian Vogt <fvogt@suse.com>

View File

@ -78,8 +78,6 @@ that use libphonenumber.
%build
cd cpp
export CFLAGS="%optflags -DNDEBUG"
export CXXFLAGS="$CFLAGS"
# Enabling the geocoder breaks quite a lot due to broken cmakelists
# (https://github.com/google/libphonenumber/pull/2556)
%cmake -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIB=ON -DBUILD_TESTING=ON -DBUILD_GEOCODER=OFF -DREGENERATE_METADATA=OFF