make/solaris/makefiles/sparcWorks.make

changeset 3600
7292cff45988
parent 3518
719f7007c8e8
child 3726
74c359c4a9e5
     1.1 --- a/make/solaris/makefiles/sparcWorks.make	Wed Feb 22 10:32:29 2012 -0800
     1.2 +++ b/make/solaris/makefiles/sparcWorks.make	Wed Feb 22 09:24:35 2012 +0100
     1.3 @@ -22,18 +22,22 @@
     1.4  #  
     1.5  #
     1.6  
     1.7 -# Compiler-specific flags for sparcworks.
     1.8 +# If a SPEC is not set already, then use these defaults.
     1.9 +ifeq ($(SPEC),)
    1.10 +  # Compiler-specific flags for sparcworks.
    1.11 +  CC	= cc
    1.12 +  CXX	= CC
    1.13  
    1.14 -# tell make which C and C++ compilers to use
    1.15 -CC	= cc
    1.16 -CXX	= CC
    1.17 +  # Note that this 'as' is an older version of the Sun Studio 'fbe', and will
    1.18 +  #   use the older style options. The 'fbe' options will match 'cc' and 'CC'.
    1.19 +  AS	= /usr/ccs/bin/as
    1.20  
    1.21 -# Note that this 'as' is an older version of the Sun Studio 'fbe', and will
    1.22 -#   use the older style options. The 'fbe' options will match 'cc' and 'CC'.
    1.23 -AS	= /usr/ccs/bin/as
    1.24 +  NM    = /usr/ccs/bin/nm
    1.25 +  NAWK  = /bin/nawk
    1.26  
    1.27 -NM	= /usr/ccs/bin/nm
    1.28 -NAWK    = /bin/nawk
    1.29 +  MCS	= /usr/ccs/bin/mcs
    1.30 +  STRIP	= /usr/ccs/bin/strip
    1.31 +endif
    1.32  
    1.33  REORDER_FLAG = -xF
    1.34  
    1.35 @@ -557,9 +561,6 @@
    1.36  #LINK_INTO = LIBJVM
    1.37  endif
    1.38  
    1.39 -MCS	= /usr/ccs/bin/mcs
    1.40 -STRIP	= /usr/ccs/bin/strip
    1.41 -
    1.42  # Solaris platforms collect lots of redundant file-ident lines,
    1.43  # to the point of wasting a significant percentage of file space.
    1.44  # (The text is stored in ELF .comment sections, contributed by

mercurial