Skip to content

Instantly share code, notes, and snippets.

@jdamick
Created September 24, 2009 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdamick/192771 to your computer and use it in GitHub Desktop.
Save jdamick/192771 to your computer and use it in GitHub Desktop.
--- 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