Create a gist now

Instantly share code, notes, and snippets.

--- tools/build/v2/tools/gcc.jam.orig 2009-09-24 09:25:20.000000000 -0400
+++ tools/build/v2/tools/gcc.jam 2009-09-24 09:28:02.000000000 -0400
@@ -368,4 +368,11 @@
}
}
+ else if $(os) = darwin
+ {
+ if $(model) = 32
+ {
+ option = -m32 ;
+ }
+ }
else
{
--- tools/build/v2/tools/darwin.jam.orig 2009-04-14 03:59:30.000000000 -0400
+++ tools/build/v2/tools/darwin.jam 2009-09-24 10:11:02.000000000 -0400
@@ -307,5 +307,5 @@
arch-addr-flags darwin OPTIONS : combined : 32 : -arch i386 -arch ppc : default ;
arch-addr-flags darwin OPTIONS : combined : 64 : -arch x86_64 -arch ppc64 ;
-arch-addr-flags darwin OPTIONS : combined : 32_64 : -arch i386 -arch ppc -arch x86_64 -arch ppc64 ;
+arch-addr-flags darwin OPTIONS : combined : 32_64 : -arch i386 -arch ppc -arch x86_64 ;
arch-addr-flags darwin OPTIONS : x86 : 32 : -arch i386 : default ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment