components/stdcxx/isa_patches/i386/1038-GNUmakefile.ph.i386.patch
author Milan Jurik <Milan.Jurik@oracle.com>
Wed, 30 Nov 2011 06:39:13 -0800
changeset 604 c25824a87b1f
parent 402 94ae4d75524c
permissions -rw-r--r--
6674902 a lot of superfluous calls to clock_gettime if timed events is not used 6867692 libevent version needs to be updated to 1.4

--- 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