Accepting request 1105413 from home:jengelh:branches:devel:libraries:c_c++

FAAAAALGS

OBS-URL: https://build.opensuse.org/request/show/1105413
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=18
This commit is contained in:
Marcus Meissner 2023-09-12 08:08:54 +00:00 committed by Git OBS Bridge
parent 36e7c04d8c
commit c26be24f00
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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,6 +78,8 @@ 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