Cross Reference: 1038-GNUmakefile.ph.i386.patch
xref
: /
solaris-userland
/
components
/
stdcxx
/
isa_patches
/
i386
/
1038-GNUmakefile.ph.i386.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
402
N/A
---
stdcxx-4.2.1/etc/config/GNUmakefile.ph
2008-04-24 20:25:50.000000000 -0400
402
N/A
+++
stdcxx-4.2.1/etc/config/GNUmakefile.ph
2009-03-30 11:15:50.711606000 -0400
402
N/A
@@ -24,8 +24,17 @@
402
N/A
#
402
N/A
########################################################################
402
N/A
402
N/A
-include ../
makefile.in
402
N/A
+arch := $(shell mach)
402
N/A
+
402
N/A
+ifeq ($(arch),sparc)
402
N/A
+ XREGS := -xregs=appl
402
N/A
+ XMEMALIGN := -xmemalign=8i
402
N/A
+else
402
N/A
+ XREGS := -xregs=no%frameptr
402
N/A
+ XMEMALIGN :=
402
N/A
+endif
402
N/A
402
N/A
+include ../
makefile.in
402
N/A
402
N/A
########################################################################
402
N/A
# if PHDIR isn't set, don't try to build anything