summaryrefslogtreecommitdiff
path: root/boost-1.73.0-b2-build-flags.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:48:17 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:48:17 +0000
commit3e5b775a47ceaf74483092ce8a3a2435f2e79647 (patch)
tree2462c2b6cd7b871e401b644de855af589d216fe5 /boost-1.73.0-b2-build-flags.patch
parent2569db0d96fd9b63762a44ac9037d8fe756a1c31 (diff)
automatic import of boostopeneuler24.03_LTS
Diffstat (limited to 'boost-1.73.0-b2-build-flags.patch')
-rw-r--r--boost-1.73.0-b2-build-flags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/boost-1.73.0-b2-build-flags.patch b/boost-1.73.0-b2-build-flags.patch
new file mode 100644
index 0000000..e2e2037
--- /dev/null
+++ b/boost-1.73.0-b2-build-flags.patch
@@ -0,0 +1,11 @@
+--- boost_1_73_0/tools/build/src/engine/build.sh~ 2020-04-25 17:09:03.159419899 +0100
++++ boost_1_73_0/tools/build/src/engine/build.sh 2020-04-25 17:11:35.085907844 +0100
+@@ -233,7 +233,7 @@
+
+ *)
+ B2_CXX="${CXX} -x c++ -std=c++11"
+- B2_CXXFLAGS_RELEASE="-O2 -s"
++ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}"
+ B2_CXXFLAGS_DEBUG="-O0 -g"
+ esac
+ ;;