Fix Werrors with GCC-14.1.0 23/311323/2 accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_base accepted/tizen/base/20240612.043325 accepted/tizen/base/asan/20240806.090019 accepted/tizen/base/toolchain/20240604.070856 accepted/tizen/base/x/20240612.012352 accepted/tizen/base/x/asan/20240624.231447
authorDongkyun Son <dongkyun.s@samsung.com>
Fri, 17 May 2024 11:54:02 +0000 (20:54 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 3 Jun 2024 01:49:55 +0000 (10:49 +0900)
-Wimplicit-function-declaration

Change-Id: I7a0274b7a6b57e1a128b8e634b270f205f9adbfd
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/icu.spec

index d52a35b..f61be28 100644 (file)
@@ -72,8 +72,8 @@ cp %{SOURCE1001} .
 cp %{SOURCE1} ./source/tools/tzcode
 
 %build
-export CFLAGS="$CFLAGS -D_TIZEN_FEATURE_ -fPIC"
-export CXXFLAGS="$CXXFLAGS -D_TIZEN_FEATURE_ -fPIC"
+export CFLAGS+=" -D_TIZEN_FEATURE_ -fPIC -Wno-error=implicit-function-declaration"
+export CXXFLAGS+=" -D_TIZEN_FEATURE_ -fPIC"
 export LINKFLAGS=" -pie"
 export LANG=C.UTF-8