dd07b4b21f
See https://fedoraproject.org/wiki/Changes/F35Boost176 Drop patches: deleted: boost-1.73-python3.10.patch deleted: boost-1.73.0-b2-build-flags.patch deleted: boost-1.75.0-boost-build-fix.patch Fix include inside boost namespace in boost/math/tools/mp.hpp See https://github.com/boostorg/math/pull/670 Fix duplicate typedef in boost/math/tools/mp.hpp See https://github.com/boostorg/math/pull/671
26 lines
777 B
Diff
26 lines
777 B
Diff
From 5dde5a5a3c12dd8f52cb61ba220ec221ecfa98f0 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Rodgers <rodgert@twrodgers.com>
|
|
Date: Thu, 29 Jul 2021 10:15:37 -0700
|
|
Subject: [PATCH] Use options from RPM for release builds with GCC
|
|
|
|
---
|
|
tools/build/src/engine/build.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/build/src/engine/build.sh b/tools/build/src/engine/build.sh
|
|
index 58f41cb4a..f85040f99 100755
|
|
--- a/tools/build/src/engine/build.sh
|
|
+++ b/tools/build/src/engine/build.sh
|
|
@@ -325,7 +325,7 @@ case "${B2_TOOLSET}" in
|
|
B2_CXX="${B2_CXX} -pthread"
|
|
;;
|
|
esac
|
|
- B2_CXXFLAGS_RELEASE="-O2 -s"
|
|
+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
|
|
B2_CXXFLAGS_DEBUG="-O0 -g"
|
|
;;
|
|
|
|
--
|
|
2.31.1
|
|
|