From 6cb413b7c21d65a4f40d953bbce4fd6696f41fab Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 10 Jun 2017 22:32:34 +0200 Subject: boringssl: update to latest git --- package/boringssl/Makefile | 6 +++++- package/boringssl/patches/patch-CMakeLists_txt | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 package/boringssl/patches/patch-CMakeLists_txt diff --git a/package/boringssl/Makefile b/package/boringssl/Makefile index b2b7eed2c..7398721f2 100644 --- a/package/boringssl/Makefile +++ b/package/boringssl/Makefile @@ -4,7 +4,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= boringssl -PKG_VERSION:= be2ee342d3781ddb954f91f8a7e660c6f59e87e5 +PKG_VERSION:= 2b56981b6415dc3fa70432649c2f289c77707a69 PKG_RELEASE:= 1 PKG_GIT:= hash PKG_DESCR:= ssl library @@ -21,8 +21,12 @@ $(eval $(call PKG_template,BORINGSSL,boringssl,$(PKG_VERSION)-$(PKG_RELEASE),$(P WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj CONFIG_STYLE:= cmake +CMAKE_FLAGS+= -DBUILD_SHARED_LIBS=1 INSTALL_STYLE:= manual boringssl-install: + $(INSTALL_DIR) $(IDIR_BORINGSSL)/usr/lib + $(CP) $(WRKBUILD)/ssl/libssl.so \ + $(IDIR_BORINGSSL)/usr/lib include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/boringssl/patches/patch-CMakeLists_txt b/package/boringssl/patches/patch-CMakeLists_txt new file mode 100644 index 000000000..93eaabe5a --- /dev/null +++ b/package/boringssl/patches/patch-CMakeLists_txt @@ -0,0 +1,11 @@ +--- boringssl-2b56981b6415dc3fa70432649c2f289c77707a69.orig/CMakeLists.txt 2017-06-04 16:48:05.000000000 +0200 ++++ boringssl-2b56981b6415dc3fa70432649c2f289c77707a69/CMakeLists.txt 2017-06-04 16:55:21.666025219 +0200 +@@ -33,7 +33,7 @@ if (NOT GO_EXECUTABLE) + endif() + + if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") +- set(C_CXX_FLAGS "-Wall -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -ggdb -fvisibility=hidden -fno-common") ++ set(C_CXX_FLAGS "-Wall -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -ggdb -fvisibility=hidden -fno-common") + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + set(C_CXX_FLAGS "${C_CXX_FLAGS} -Wnewline-eof") + else() -- cgit v1.2.3