summaryrefslogtreecommitdiff
path: root/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch')
-rw-r--r--dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch b/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch
new file mode 100644
index 000000000000..8de98014dbdc
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch
@@ -0,0 +1,16 @@
+Avoid adding all kinds of things to the toolchain's flags that within
+Gentoo (Prefix) we really shouldn't, such as sysroot, deployment target,
+arch, etc.
+
+--- a/tools/darwin.jam
++++ b/tools/darwin.jam
+@@ -240,6 +240,9 @@
+ }
+ }
+
++ # leave compiler flags etc. up to the toolchain
++ return $(version-feature) ;
++
+ if $(version-feature)
+ {
+ if $(.debug-configuration)