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:=c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4
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 HOST_CONFIGURE_ARGS += --disable-shared
27 HOST_CFLAGS += $(FPIC)
29 ifeq ($(GNU_HOST_NAME),x86_64-linux-gnux32)
30 HOST_CONFIGURE_ARGS += --disable-asm
33 $(eval $(call HostBuild))