summaryrefslogtreecommitdiff
blob: f5d6188f1954e975ca477c520880637582e400d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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.

--- tools/darwin.jam
+++ tools/darwin.jam
@@ -227,6 +227,9 @@
         }
     }
     
+    # leave compiler flags etc. up to the toolchain
+    return $(version-feature) ;
+
     if $(version-feature)
     {
         if $(.debug-configuration)
@@ -387,7 +390,8 @@
             support-ppc64 = ;
         }
     }
-    switch $(arch)
+    # Gentoo Prefix toolchain doesn't do multi-arch, so don't try either
+    switch $(donotaddarchpleaseXXXarch)
     {
         case combined : 
         {