components/stdcxx/isa_patches/amd64/1039-GNUmakefile.exm.amd64.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 402 94ae4d75524c
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

--- stdcxx-4.2.1/etc/config/GNUmakefile.exm	2008-04-24 20:25:50.000000000 -0400
+++ stdcxx-4.2.1/etc/config/GNUmakefile.exm	2009-03-30 11:15:44.701196000 -0400
@@ -26,6 +26,16 @@
 #
 ########################################################################
 
+arch := $(shell mach)
+
+ifeq ($(arch),sparc)
+      XREGS := -xregs=appl
+      XMEMALIGN := -xmemalign=8i
+else
+      XREGS := -xregs=no%frameptr
+      XMEMALIGN :=
+endif
+
 include  ../makefile.in
 
 EXMDIR  = $(TOPDIR)/examples