meson,spec: Skip applying 'werror' in case of x86_64 arch temporarily 49/300449/1 accepted/tizen/8.0/unified/20231027.023625
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 24 Oct 2023 07:35:16 +0000 (16:35 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 25 Oct 2023 07:17:51 +0000 (07:17 +0000)
It'll be removed when codes are fixed properly. Until then, some compiling
warnings will be allowed in case of the x86_64.

Change-Id: I8fae2e4604ca22bcc47a678f2c90cd7a70336c6b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 95a7d8f24b66040eca659929651a709d9dacd278)

meson.build
packaging/espp-service.spec

index fc5ada62e2cae43af062f34bfbe6a20705242e01..cc81e60de79b837dda736498648726b76ca1eb04 100644 (file)
@@ -2,7 +2,7 @@ project('espp-service', 'c',
   version: run_command('get_version.sh', check: true).stdout().strip(),
   default_options : ['warning_level=2',
                      'buildtype=debugoptimized',
-                     'werror=true'])
+                     'werror=false'])
 
 espp_service_version = meson.project_version()
 version_arr = espp_service_version.split('.')
index d13a5215173646bd60f762bf120b64944df8fce6..4035436c41e6b07438a7d16523a643ab56b34306 100644 (file)
@@ -1,7 +1,7 @@
 Name:       espp-service
 Summary:    ESPP service package which contains client lib. and daemon binary
 Version:    0.3.10
-Release:    1
+Release:    2
 Group:      Multimedia/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -57,6 +57,9 @@ meson setup --auto-features=disabled \
   -Dservice-app=false \
 %endif
   -D_bindir=%{_bin_dir} \
+%ifnarch x86_64
+  --werror \
+%endif
   build
 
 ninja -C build