2 # Copyright (C) 2016-2017 LEDE project
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_HASH
:=3ab5e5eaef69ce20c6b170ee64d785b42235f48f2e62b095fca5d7b6672b8b28
15 PKG_CPE_ID
:=cpe
:/a
:openbsd
:libressl
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 PKG_SOURCE_URL
:=http
://mirror.ox.ac.uk
/pub
/OpenBSD
/LibreSSL \
19 http
://ftp.jaist.ac.jp
/pub
/OpenBSD
/LibreSSL \
20 https
://ftp.openbsd.org
/pub
/OpenBSD
/LibreSSL
22 HOST_BUILD_PARALLEL
:=1
24 include $(INCLUDE_DIR
)/host-build.mk
26 HOSTCC
:= $(HOSTCC_NOCACHE
)
27 HOST_CONFIGURE_ARGS
+= --enable-static
--disable-shared
--disable-tests
28 HOST_CFLAGS
+= $(HOST_FPIC
)
30 ifeq ($(GNU_HOST_NAME
),x86_64-linux-gnux32
)
31 HOST_CONFIGURE_ARGS
+= --disable-asm
34 $(eval
$(call HostBuild
))