summaryrefslogtreecommitdiff
path: root/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-04 04:20:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-04 04:20:30 +0100
commit67717f5ed7e33856e34f632d5f17a5e218401c0a (patch)
tree609008d60c8ff9be5d300757865570d31c29ac0d /dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch
parent71f9cc21aab4168093940b3d2e267444d712bff5 (diff)
gentoo auto-resync : 04:09:2022 - 04:20:30
Diffstat (limited to 'dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch')
-rw-r--r--dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch b/dev-util/b2/files/b2-4.9.2-darwin-gentoo-toolchain.patch
new file mode 100644
index 000000000000..8de98014dbdc
--- /dev/null
+++ b/dev-util/b2/files/b2-4.9.2-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)