5827653083
See https://fedoraproject.org/wiki/Changes/F37Boost178 Drop patches: deleted: boost-1.75.0-build-optflags.patch deleted: boost-1.75.0-no-rpath.patch deleted: boost-1.76.0-b2-build-flags.patch deleted: boost-1.76.0-fix-include-inside-boost-namespace.patch deleted: boost-1.76.0-fix-duplicate-typedef-in-mp.patch Fix silent dropping of some libraries See https://github.com/bfgroup/b2/pull/113
26 lines
758 B
Diff
26 lines
758 B
Diff
From 1ded9b9c219542442b3c10af815e5413a2a89c75 Mon Sep 17 00:00:00 2001
|
|
From: Thomas W Rodgers <trodgers@redhat.com>
|
|
Date: Tue, 1 Mar 2022 10:03:34 -0800
|
|
Subject: [PATCH] Adjust b2 build flags for Fedora Packaging
|
|
|
|
---
|
|
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 f1ad08cb..ab58deba 100755
|
|
--- a/tools/build/src/engine/build.sh
|
|
+++ b/tools/build/src/engine/build.sh
|
|
@@ -323,7 +323,7 @@ case "${B2_TOOLSET}" in
|
|
|
|
gcc|gcc-*)
|
|
CXX_VERSION_OPT=${CXX_VERSION_OPT:---version}
|
|
- B2_CXXFLAGS_RELEASE="-O2 -s"
|
|
+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
|
|
B2_CXXFLAGS_DEBUG="-O0 -g"
|
|
;;
|
|
|
|
--
|
|
2.35.1
|
|
|