From 5e848813ab393e0f018586bbfec18876ca0204c4 Mon Sep 17 00:00:00 2001 From: Malcolm MacLeod Date: Tue, 29 Aug 2023 05:41:53 +0000 Subject: [PATCH] Official build: v3.0.7 --- configure.ac | 2 +- contrib/guix/libexec/build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index af30cfce7a..8f4ff358f7 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ define(_CLIENT_VERSION_MAJOR, 3) define(_CLIENT_VERSION_MINOR, 0) define(_CLIENT_VERSION_REVISION, 0) define(_CLIENT_VERSION_BUILD, 7) -define(_CLIENT_VERSION_IS_RELEASE, false) +define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2022) define(_COPYRIGHT_HOLDERS,[The %s developers]) define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Centure]]) diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index 037d451113..2d2b52eb3d 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -230,7 +230,7 @@ mkdir -p "$OUTDIR" CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --disable-fuzz-binary --disable-man --enable-zmq --with-node-js-libs --with-qrencode" # CFLAGS -HOST_CFLAGS="-O2 -g" +HOST_CFLAGS="-O3 -g" HOST_CFLAGS+=$(find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -ffile-prefix-map={}=/usr" \;) case "$HOST" in *linux*) HOST_CFLAGS+=" -ffile-prefix-map=${PWD}=." ;; @@ -253,7 +253,7 @@ esac # LDFLAGS case "$HOST" in # static libstdc++ is giving is undefined symbol issues when using our lib with the latest electron, so remove it for now, but this should be investigated further. -# *linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O2" ;; +# *linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -Wl,-O3" ;; *linux*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -lstdc++ -Wl,-O3" ;; *mingw*) HOST_LDFLAGS="-Wl,--no-insert-timestamp" ;; esac