Fixed the build error for gcc-14 57/313057/1 accepted/tizen_9.0_unified accepted/tizen_unified accepted/tizen_unified_dev tizen tizen_9.0 accepted/tizen/9.0/unified/20241030.232149 accepted/tizen/unified/20240620.050734 accepted/tizen/unified/dev/20240701.073107 tizen_9.0_m2_release
authorwchang kim <wchang.kim@samsung.com>
Tue, 18 Jun 2024 12:18:22 +0000 (21:18 +0900)
committerwchang kim <wchang.kim@samsung.com>
Tue, 18 Jun 2024 12:18:22 +0000 (21:18 +0900)
Change-Id: I1a8a3c926a7179275ec26eda6e824f39c83c1810

packaging/openssh.spec

index 45dcd47..13ccc5f 100644 (file)
@@ -55,7 +55,7 @@ xorg-x11 (X Window System) connections and arbitrary TCP/IP ports can
 also be forwarded over the secure channel.
 
 %prep
-%setup -q 
+%setup -q
 %patch0 -p1
 cp %{SOURCE1001} .
 
@@ -65,7 +65,7 @@ cp %{SOURCE1001} .
 
 autoreconf -fiv
 PIEFLAGS="-fpie"
-export CFLAGS="%{optflags} $PIEFLAGS -fstack-protector"
+export CFLAGS="%{optflags} $PIEFLAGS -fstack-protector -Wno-implicit-function-declaration -Wno-incompatible-pointer-types"
 export CXXFLAGS="%{optflags} $PIEFLAGS -fstack-protector"
 export LDFLAGS="-pie %{?asan:-ldl} "
 %configure \