summaryrefslogtreecommitdiff
path: root/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch')
-rw-r--r--dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch b/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch
new file mode 100644
index 000000000000..f51abea61f87
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch
@@ -0,0 +1,9 @@
+--- a/engine/build.sh
++++ b/engine/build.sh
+@@ -439,5 +439,5 @@
+ if check_debug_build "$@" ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}"
+ else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG"
+ fi
+-echo_run ${B2_CXX} ${CXXFLAGS} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2
++echo_run ${B2_CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2
+ echo_run cp b2 bjam