Fix Werrors with GCC-14.1.0 69/311969/1 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_dev accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075434 accepted/tizen/base/20240612.043318 accepted/tizen/base/asan/20240806.090146 accepted/tizen/base/dev/20241206.041245 accepted/tizen/base/toolchain/20240604.070938 accepted/tizen/base/x/20240612.012429 accepted/tizen/base/x/asan/20240624.231356 tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 31 May 2024 06:23:45 +0000 (15:23 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 31 May 2024 06:23:45 +0000 (15:23 +0900)
-Wimplicit-function-declaration
-Wint-conversion

Change-Id: I41e7d7a8d65b72b68c0d9ab73cf35804d7bebc4d

packaging/tar.spec

index 02c0cc9779f5a0f3031997cf3b7d58633a545df5..23d1f8ee465f77ba8ed43ce5dc479c0941b93f1a 100644 (file)
@@ -38,8 +38,9 @@ cp %{SOURCE1001} .
 #      --disable-silent-rules \
 #      --disable-nls
 
-CFLAGS+=" -fPIE"
-LDFLAGS+=" -pie"
+export CFLAGS+=" -Wno-error=implicit-function-declaration -Wno-error=int-conversion"
+export CFLAGS+=" -fPIE"
+export LDFLAGS+=" -pie"
 
 %configure --disable-static \
            --disable-nls