cmake: properly pass host cflags/ldflags to the build
[openwrt/staging/yousong.git] / tools / libressl / Makefile
1 #
2 # Copyright (C) 2016 LEDE project
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libressl
11 PKG_VERSION:=2.5.0
12 PKG_HASH:=8652bf6b55ab51fb37b686a3f604a2643e0e8fde2c56e6a936027d12afda6eae
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
17 http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
18 http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
19
20 HOST_BUILD_PARALLEL:=1
21
22 include $(INCLUDE_DIR)/host-build.mk
23
24 HOST_CONFIGURE_ARGS += --disable-shared
25 HOST_CFLAGS += $(FPIC)
26
27 $(eval $(call HostBuild))