equal
deleted
inserted
replaced
|
1 --- stdcxx-4.2.1/etc/config/sunpro.config 2008-04-24 20:25:50.000000000 -0400 |
|
2 +++ stdcxx-4.2.1/etc/config/sunpro.config 2009-03-29 18:32:16.095641000 -0400 |
|
3 @@ -26,7 +26,7 @@ |
|
4 # |
|
5 ######################################################################## |
|
6 |
|
7 -CXX = CC |
|
8 +SHELL = /bin/bash |
|
9 |
|
10 # extract the "C++ m.n" substring from version string (whcih changes |
|
11 # from one release of the compiler to another) |
|
12 @@ -59,10 +59,10 @@ |
|
13 |
|
14 PICFLAGS = -KPIC |
|
15 LDSOFLAGS = |
|
16 -CXXFLAGS = -library=%none |
|
17 +CXXFLAGS = -library=no%Cstd -library=Crun -features=except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -verbose=template -xlang=c99 $(XREGS) -xvis=yes $(XMEMALIGN) -xlibmieee -xbuiltin=%none -xinline= -norunpath -Qoption ccfe +d2,-xgeninl=system -Qoption ccfe -expand=10000 -Qoption ccfe ++boolflag:sunwcch=false -Qoption iropt -xwrap_int -mt -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -D_XPG5 -D_RWSTD_NO_REPLACEABLE_NEW_DELETE -D_RWSTD_NO_EXT_OPERATOR_NEW -D_IN_BUILD_STDCXX -m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -xO4 -s +w2 -errtags -erroff=hidef |
|
18 CXXPRELINK = |
|
19 -CPPFLAGS = |
|
20 -LDFLAGS = -library=%none |
|
21 +CPPFLAGS = -I$(TOPDIR)/include/ansi -I$(TOPDIR)/include/tr1 -I$(TOPDIR)/include |
|
22 +LDFLAGS = -library=no%Cstd -library=Crun -m64 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -lpthread -lumem -lm -lc -z ignore |
|
23 LDSOFLAGS = -G |
|
24 |
|
25 # use CC to invoke the compiler (needed to pick up template |
|
26 @@ -77,7 +77,7 @@ |
|
27 DEBUG_CXXFLAGS = -g |
|
28 DEBUG_CPPFLAGS = |
|
29 |
|
30 -OPTMZ_CXXFLAGS = -O |
|
31 +OPTMZ_CXXFLAGS = -xO4 |
|
32 OPTMZ_CPPFLAGS = |
|
33 |
|
34 # shared/static library options |
|
35 @@ -124,7 +124,7 @@ |
|
36 ifeq ($(shell expr $(CCMAJOR) \>= 5 \& $(CCMINOR) \>= 9),1) |
|
37 |
|
38 # starting with Sun C++ 5.9, the compiler prefers the generic |
|
39 - # -m32 and -m64 options to the architecture specific -xarch |
|
40 + # -m32 and -m64 options to the architecture specific -xarch |
|
41 # options some of which have been deprecated |
|
42 wide_flags = -m64 |
|
43 narrow_flags = -m32 |