From: wchang kim Date: Wed, 5 Jun 2024 10:32:00 +0000 (+0900) Subject: Fixed the build error for gcc-14 X-Git-Tag: accepted/tizen/unified/toolchain/20240610.172604^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_x_asan;p=platform%2Fupstream%2Fiotivity.git Fixed the build error for gcc-14 Change-Id: I518363907789e07ee0d304ca4a498ee90f170a37 --- diff --git a/packaging/iotivity.spec b/packaging/iotivity.spec index 21a5c80f5..f09a33791 100644 --- a/packaging/iotivity.spec +++ b/packaging/iotivity.spec @@ -173,7 +173,7 @@ cp %{SOURCE1001} ./%{name}-test.manifest %endif %build -CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; +CFLAGS="${CFLAGS:-%optflags} -Wno-implicit-function-declaration -Wno-incompatible-pointer-types" ; export CFLAGS ; scons %{JOB} --prefix=%{_prefix} \ ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} \ LIB_INSTALL_DIR=%{_libdir} \