diff -r bf52ef48020c -r 94ae4d75524c components/stdcxx/isa_patches/amd64/1038-GNUmakefile.ph.amd64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/stdcxx/isa_patches/amd64/1038-GNUmakefile.ph.amd64.patch Thu Jul 14 11:26:11 2011 -0700 @@ -0,0 +1,21 @@ +--- stdcxx-4.2.1/etc/config/GNUmakefile.ph 2008-04-24 20:25:50.000000000 -0400 ++++ stdcxx-4.2.1/etc/config/GNUmakefile.ph 2009-03-30 11:15:50.711606000 -0400 +@@ -24,8 +24,17 @@ + # + ######################################################################## + +-include ../makefile.in ++arch := $(shell mach) ++ ++ifeq ($(arch),sparc) ++ XREGS := -xregs=appl ++ XMEMALIGN := -xmemalign=8i ++else ++ XREGS := -xregs=no%frameptr ++ XMEMALIGN := ++endif + ++include ../makefile.in + + ######################################################################## + # if PHDIR isn't set, don't try to build anything