diff --git a/net/openssh/Makefile b/net/openssh/Makefile index afdd6023e3..7dd75d00ea 100644 --- a/net/openssh/Makefile +++ b/net/openssh/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openssh PKG_VERSION:=7.7p1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ @@ -189,6 +189,7 @@ CONFIGURE_VARS += LD="$(TARGET_CC)" ifeq ($(BUILD_VARIANT),with-pam) TARGET_LDFLAGS += -lpthread +TARGET_CFLAGS += -DUNSUPPORTED_POSIX_THREADS_HACK endif define Build/Compile