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:
parent
c26be24f00
commit
c513d918db
@ -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>
|
Mon Jun 26 09:00:14 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
@ -78,8 +78,6 @@ that use libphonenumber.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd cpp
|
cd cpp
|
||||||
export CFLAGS="%optflags -DNDEBUG"
|
|
||||||
export CXXFLAGS="$CFLAGS"
|
|
||||||
# Enabling the geocoder breaks quite a lot due to broken cmakelists
|
# Enabling the geocoder breaks quite a lot due to broken cmakelists
|
||||||
# (https://github.com/google/libphonenumber/pull/2556)
|
# (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
|
%cmake -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIB=ON -DBUILD_TESTING=ON -DBUILD_GEOCODER=OFF -DREGENERATE_METADATA=OFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user