mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/openssh: fix build for powerpc64le
Fixes: https://autobuild.buildroot.net/results/40a/40a26d9831667233944e6aabf2388f02a8cf30ac/ https://gitlab.com/buildroot.org/buildroot/-/work_items/79 packet.c: In function 'ssh_packet_log_type': packet.c:1219:1: sorry, unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target Upstream bug report: https://bugzilla.mindrot.org/show_bug.cgi?id=3673 Upstream commit29cf521486which was first released with version 10.1 and was added to buildroot with commitb52b3fd59dintroduced cache variables to disable zero-call-used-regs when needed. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commita44b18837d) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
cb55591ab5
commit
377bd40298
@@ -36,6 +36,10 @@ define OPENSSH_PERMISSIONS
|
|||||||
/var/empty d 755 root root - - - - -
|
/var/empty d 755 root root - - - - -
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(BR2_powerpc64le),y)
|
||||||
|
OPENSSH_CONF_ENV += ossh_cv_cflag__fzero_call_used_regs_used=no
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_110934),y)
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_110934),y)
|
||||||
OPENSSH_CONF_OPTS += --without-hardening
|
OPENSSH_CONF_OPTS += --without-hardening
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user