components/stdcxx/isa_patches/amd64/1038-GNUmakefile.ph.amd64.patch
changeset 402 94ae4d75524c
equal deleted inserted replaced
401:bf52ef48020c 402:94ae4d75524c
       
     1 --- stdcxx-4.2.1/etc/config/GNUmakefile.ph	2008-04-24 20:25:50.000000000 -0400
       
     2 +++ stdcxx-4.2.1/etc/config/GNUmakefile.ph	2009-03-30 11:15:50.711606000 -0400
       
     3 @@ -24,8 +24,17 @@
       
     4  #
       
     5  ########################################################################
       
     6  
       
     7 -include ../makefile.in
       
     8 +arch := $(shell mach)
       
     9 +
       
    10 +ifeq ($(arch),sparc)
       
    11 +      XREGS := -xregs=appl
       
    12 +      XMEMALIGN := -xmemalign=8i
       
    13 +else
       
    14 +      XREGS := -xregs=no%frameptr
       
    15 +      XMEMALIGN :=
       
    16 +endif
       
    17  
       
    18 +include ../makefile.in
       
    19  
       
    20  ########################################################################
       
    21  #  if PHDIR isn't set, don't try to build anything