twine build: towards deterministic libsecp - strip debug symbols - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d293cc0d5374f5410a69e4ea9cd92b103887337f DIR parent 80178f9a56a9c2336a5eeb365897592c3cd5bf2d HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 28 Jun 2018 22:05:13 +0200 wine build: towards deterministic libsecp - strip debug symbols smaller dll and no longer depends on build path Diffstat: M contrib/build-wine/build-secp256k1… | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/contrib/build-wine/build-secp256k1.sh b/contrib/build-wine/build-secp256k1.sh t@@ -5,6 +5,7 @@ set -e build_dll() { #sudo apt-get install -y mingw-w64 + export SOURCE_DATE_EPOCH=1530212462 ./autogen.sh echo "LDFLAGS = -no-undefined" >> Makefile.am LDFLAGS="-Wl,--no-insert-timestamp" ./configure \ t@@ -14,6 +15,7 @@ build_dll() { --enable-module-ecdh \ --disable-jni make + ${1}-strip .libs/libsecp256k1-0.dll } t@@ -30,8 +32,6 @@ fi git reset --hard 452d8e4d2a2f9f1b5be6b02e18f1ba102e5ca0b4 git clean -f -x -q -export SOURCE_DATE_EPOCH=1530212462 - build_dll i686-w64-mingw32 # 64-bit would be: x86_64-w64-mingw32 mv .libs/libsecp256k1-0.dll libsecp256k1.dll