summaryrefslogtreecommitdiff
path: root/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch')
-rw-r--r--dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch b/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch
new file mode 100644
index 000000000000..2289e706ca74
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch
@@ -0,0 +1,11 @@
+--- a/engine/build.sh
++++ b/engine/build.sh
+@@ -496,7 +496,7 @@
+ if test_true ${B2_DEBUG_OPT} ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}"
+ else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG"
+ fi
+- ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2 )
++ ( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${CPPFLAGS} ${B2_CXXFLAGS} ${LDFLAGS} ${B2_SOURCES} -o b2 )
+ ( B2_VERBOSE_OPT=${TRUE} echo_run cp b2 bjam )
+ }
+