components/gcc3/Makefile
changeset 493 66a35caef41c
parent 491 57540878a121
equal deleted inserted replaced
492:feb4ae69ab0d 493:66a35caef41c
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
       
    21 # Copyright (c) 2012 Nexenta Systems, Inc.  All rights reserved.
    21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    22 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    22 #
    23 #
    23 include ../../make-rules/shared-macros.mk
    24 include ../../make-rules/shared-macros.mk
    24 
    25 
    25 COMPONENT_NAME=		gcc
    26 COMPONENT_NAME=		gcc
    35 CONFIGURE_DEFAULT_COMPILERS= no
    36 CONFIGURE_DEFAULT_COMPILERS= no
    36 
    37 
    37 include ../../make-rules/prep.mk
    38 include ../../make-rules/prep.mk
    38 include ../../make-rules/configure.mk
    39 include ../../make-rules/configure.mk
    39 include ../../make-rules/ips.mk
    40 include ../../make-rules/ips.mk
    40 
       
    41 PARCH =		$(MACH:i386=i386-pc)
       
    42 GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
       
    43 
       
    44 PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
       
    45 
    41 
    46 # we build gcc with gcc
    42 # we build gcc with gcc
    47 COMPILER =	gcc
    43 COMPILER =	gcc
    48 
    44 
    49 # CC_BITS may get in the way
    45 # CC_BITS may get in the way