summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:32:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:22 +0200
commit6cb413b7c21d65a4f40d953bbce4fd6696f41fab (patch)
treec45951b2ff290fb24897e90a357e29dad169ceac
parent0ecd4127c75e973a06c98d3a9dd04f5ad84f22ff (diff)
boringssl: update to latest git
-rw-r--r--package/boringssl/Makefile6
-rw-r--r--package/boringssl/patches/patch-CMakeLists_txt11
2 files changed, 16 insertions, 1 deletions
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()