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:
parent
36e7c04d8c
commit
c26be24f00
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user