components/gcc3/Makefile
author Shawn Ferry <shawn.ferry@oracle.com>
Mon, 28 Nov 2016 16:54:02 -0800
changeset 7565 48aa82a0931f
parent 7446 f420f2219a19
child 7687 1093e2a9adbd
permissions -rw-r--r--
PSARC/2016/607 Puppet 4.7.0, Hiera 3.2.0 19429313 address_object type should support vrrp addresses 19888183 publisher provider is applied on each puppet run 22125767 nsswitch provider missing ipnodes, protocols, printers 22126108 add process scheduler administration provider 22960016 Puppet needs a native way to set ZFS ACLs 23107546 race condition with smf provider and manifest-import 23119445 Upgrade Ruby Hiera to 3.2.0 23547788 Add ILB type to Puppet 23593229 rspec tests need to be written for solaris_providers boot_environment 23593308 rspec tests need to be written for solaris_providers ipmp_interface 23593316 rspec tests need to be written for solaris_providers protocol_properties 23593225 rspec tests need to be written for solaris_providers etherstub 23593319 rspec tests need to be written for solaris_providers vnic 23593310 puppet module rspec tests and validation for nsswitch 24674283 current puppet.stencil implementation restricts some valid puppet use cases 24680838 puppet agent failures should be visible to administrator via SMF interfaces 24681179 puppet's logadm.conf is pointing at wrong location for master, ignoring agent 24696742 puppet svccfg doesn't work for some value types 24696809 Puppet link aggregation modules cascading errors 24825868 Update to Puppet 4, Puppet 3 is EOL 24836004 '-' is valid in pkg mediator implementation 24836209 nis provider needs to support multiple securenets entries 24928890 keystone and horizon modules patches create invalid metadata.json 25022632 puppet ipmp_interface type should not validate interface existence 25022714 Puppet SMF service should not refresh on every apply operation 25225039 puppet svccfg should not declare a property absent if it does not match desired 25060925 puppet resource address_object generates invalid puppet code for dhcp interfaces 25065015 update puppet oracle-solaris_providers 2.0.0 25071521 puppet svccfg type should return a clear error if value is not provided 25071681 puppet dns resource generates invalid manifest 25071686 puppet resource ldap; Error: Could not run: No ability to determine if ldap... 25071690 puppet resource nis; Error: Could not run: No ability to determine if nis exists 25092384 puppet module files should be owned by root 25093408 puppet-solaris should be part of puppet again 25106150 Nis provider is not idempotent 25106155 DNS provider is not idempotent 25163776 puppet link_aggregation misunderstands 'address' -u output 25163791 puppet link_aggregation should use resource values instead of property_hash 25163815 puppet address_object errors and validations could be better 25163840 puppet Puppet::Property::List types conflict with internally generated arrays 25163864 puppet link_aggregation type specs need to be written 25177901 puppet beadm should not use both -e and -p 25178928 puppet link_aggregation should try to copy existing values on change of mode 25179040 puppet link_aggregation should delete with -t for temporary 25192742 puppet svccfg shouldn't try to update properties for a non-existent fmri 25196056 puppet interface and address _properties namevars are problematic 25191982 puppet type 'dns' is not able to set 'options' property in resolv.conf 25211935 puppet link_aggregation needs to permanently delete before modifying temporary 25217063 puppet protocol_properties is not idempotent 25218036 puppet resource svccfg emits a warning for every property 25218053 puppet svccfg prefetch should match individually specified parameters 25218208 puppet svccfg should enforce well-formedness in fmri parameters 25224661 puppet resource address_properties shouldn't output read-only properties 25224777 puppet address_properties should not reset unchanged properties 25306835 puppet boot_environment needs to understand the new snapshot format 25306877 puppet svccfg should check for pg and allow nested property groups 25306904 puppet dns,nis,ldap,protocol_properties prefetch fails after input auto munge 25348321 puppet boot_environment needs to validate all properties and parameters 25354751 puppet vnic provider needs to support / and - as valid vnic name characters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    22
#
5348
623c86e1e386 22599369 gcc3, gcc48, and gcc49 should specify bits
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5125
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    25
BUILD_BITS= 32
7104
8f45af4c27d7 24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6231
diff changeset
    26
8f45af4c27d7 24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6231
diff changeset
    27
export PARFAIT_BUILD=no
8f45af4c27d7 24837165 userland should move to parfait 1.9
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6231
diff changeset
    28
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    29
# Build gcc with gcc
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    30
COMPILER= gcc
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    31
include ../../make-rules/shared-macros.mk
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
5788
ead8ecaa722e 22820866 Userland should build with GCC 5.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5782
diff changeset
    33
# build with itself until it's gone
ead8ecaa722e 22820866 Userland should build with GCC 5.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5782
diff changeset
    34
GCC_ROOT =	/usr/gcc/3.4
ead8ecaa722e 22820866 Userland should build with GCC 5.3
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5782
diff changeset
    35
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_NAME=		gcc
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_VERSION=	3.4.3
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 392
diff changeset
    38
COMPONENT_PROJECT_URL=	http://gcc.gnu.org/
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    39
# unfortunately we have our own "special" tarball and not the community version, so use that.
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 704
diff changeset
    40
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 704
diff changeset
    41
    sha256:3ab488fe2df01bf54a57acd70e745266e19232edacf77512f77655296748e7a0
313
e30cc0dc4e8b 7053576 canonical source location for beanshell, gcc3, and tidy is changing
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 249
diff changeset
    42
COMPONENT_ARCHIVE_URL=	$(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 991
diff changeset
    43
COMPONENT_BUGDB=	utility/gnu-compiler
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    44
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1496
diff changeset
    45
TPNO=			17028
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1496
diff changeset
    46
6004
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    47
# Bootstrapping problems.  To be obsoleted soon, so do not publish.
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    48
ifeq ($(BUILD_TYPE), evaluation)
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    49
BUILD_32=
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    50
INSTALL_32=
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    51
PUBLISH_STAMP=
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    52
endif
d8af8c006c17 23293966 do not publish gcc3 when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 5788
diff changeset
    53
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    54
INSTALL_TARGET=
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    55
include $(WS_MAKE_RULES)/gnu-component.mk
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    56
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    57
PARCH =		$(MACH:i386=i386-pc)
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    58
GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    59
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    60
PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    61
5348
623c86e1e386 22599369 gcc3, gcc48, and gcc49 should specify bits
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5125
diff changeset
    62
# Make sure to pass -m32/64 any time the installed GCC is used 
623c86e1e386 22599369 gcc3, gcc48, and gcc49 should specify bits
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5125
diff changeset
    63
CC += -m$(BITS)
623c86e1e386 22599369 gcc3, gcc48, and gcc49 should specify bits
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5125
diff changeset
    64
CXX += -m$(BITS)
623c86e1e386 22599369 gcc3, gcc48, and gcc49 should specify bits
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5125
diff changeset
    65
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    66
# CC_BITS may get in the way
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    67
CC_BITS=
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    68
392
59cfe0ca65fb 7064504 exception handling -compat=g on Solaris 11 snv_167 or higher
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 378
diff changeset
    69
# enabling this causes libstdc++ to break
59cfe0ca65fb 7064504 exception handling -compat=g on Solaris 11 snv_167 or higher
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 378
diff changeset
    70
LD_B_DIRECT=
59cfe0ca65fb 7064504 exception handling -compat=g on Solaris 11 snv_167 or higher
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 378
diff changeset
    71
5782
9d1e3af515de 23059355 gcc3 should specify the C standard to use when building
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5682
diff changeset
    72
CFLAGS += -std=gnu89
9d1e3af515de 23059355 gcc3 should specify the C standard to use when building
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5682
diff changeset
    73
6231
8b569784feeb 23587181 Align gcc optimizer with Solaris x86 32-bit ABI for building Userland components
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 6059
diff changeset
    74
# gcc3 doesn't support -mincoming-stack-boundary, but doesn't need it either.
8b569784feeb 23587181 Align gcc optimizer with Solaris x86 32-bit ABI for building Userland components
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 6059
diff changeset
    75
gcc_STACK_ALIGN.i386.32 =
8b569784feeb 23587181 Align gcc optimizer with Solaris x86 32-bit ABI for building Userland components
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 6059
diff changeset
    76
991
ed62e375e805 PSARC 2012/255 Move GNU gcc 3 from /usr/sfw to /usr/gcc
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    77
CONFIGURE_PREFIX =	/usr/gcc/3.4
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    78
CONFIGURE_INFODIR =	$(CONFIGURE_PREFIX)/share/info
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    79
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    80
CONFIGURE_OPTIONS +=	--infodir=$(CONFIGURE_INFODIR)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    81
CONFIGURE_OPTIONS +=	--without-gnu-ld --with-ld=$(LD)
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    82
CONFIGURE_OPTIONS +=	--enable-languages='c,c++,f77,objc'
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    83
CONFIGURE_OPTIONS +=	--enable-shared
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    84
# sparc and x86 use different assemblers
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    85
CONFIGURE_OPTIONS.sparc +=	--without-gnu-as --with-as=$(USRBINDIR)/as
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5348
diff changeset
    86
CONFIGURE_OPTIONS.i386 +=	--with-gnu-as --with-as=$(GNUBIN)/as
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    87
7446
f420f2219a19 25204357 /usr/bin/dot is crashing on s12-114
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 7104
diff changeset
    88
COMPONENT_BUILD_ENV +=	gcc_cv_as_ix86_gotoff_in_data=yes
f420f2219a19 25204357 /usr/bin/dot is crashing on s12-114
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 7104
diff changeset
    89
COMPONENT_BUILD_ENV +=	gcc_cv_as_tls=yes
f420f2219a19 25204357 /usr/bin/dot is crashing on s12-114
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 7104
diff changeset
    90
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    91
COMPONENT_BUILD_ENV += STAGE1_CFLAGS="$(CFLAGS)"
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    92
COMPONENT_BUILD_ENV += CFLAGS_FOR_TARGET="$(CFLAGS)"
249
a26c7270b713 7045683 gcc-3, flex, and binutils should move to userland (fix shell confusion)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 246
diff changeset
    93
COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    94
COMPONENT_BUILD_TARGETS = bootstrap
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    95
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    96
# common targets
6059
740b50e8e65f 23347227 gcc3: stop yer whining
John Beck <John.Beck@Oracle.COM>
parents: 6004
diff changeset
    97
ifneq ($(BUILD_TYPE), evaluation)
378
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
    98
$(PROTO_DIR)/.sedded:	$(INSTALL_32)
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
    99
	(cd $(@D) ; for file in libstdc++.la libsupc++.la ; do \
991
ed62e375e805 PSARC 2012/255 Move GNU gcc 3 from /usr/sfw to /usr/gcc
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
   100
		$(MV) usr/gcc/3.4/lib/$$file usr/gcc/3.4/lib/$$file.orig ; \
ed62e375e805 PSARC 2012/255 Move GNU gcc 3 from /usr/sfw to /usr/gcc
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
   101
		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib -lgcc_s -lm';" usr/gcc/3.4/lib/$$file.orig >usr/gcc/3.4/lib/$$file ; \
ed62e375e805 PSARC 2012/255 Move GNU gcc 3 from /usr/sfw to /usr/gcc
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
   102
		$(MV) usr/gcc/3.4/lib/$(MACH64)/$$file usr/gcc/3.4/lib/$(MACH64)/$$file.orig ; \
ed62e375e805 PSARC 2012/255 Move GNU gcc 3 from /usr/sfw to /usr/gcc
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
   103
		sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib/$(MACH64) -lgcc_s -lm';" usr/gcc/3.4/lib/$(MACH64)/$$file.orig >usr/gcc/3.4/lib/$(MACH64)/$$file ; \
378
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
   104
	 done)
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
   105
	$(TOUCH) $@
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
   106
f0b61ed1d10d 7064052 gcc3 delivers incorrect .la files in build 166
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 313
diff changeset
   107
install:	$(PROTO_DIR)/.sedded
6059
740b50e8e65f 23347227 gcc3: stop yer whining
John Beck <John.Beck@Oracle.COM>
parents: 6004
diff changeset
   108
endif
246
0878f7720e3e 7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   109
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   110
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   111
REQUIRED_PACKAGES += developer/assembler
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   112
REQUIRED_PACKAGES += developer/gnu-binutils
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   113
REQUIRED_PACKAGES += developer/lexer/flex
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   114
REQUIRED_PACKAGES += developer/parser/bison
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   115
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   116
REQUIRED_PACKAGES += system/library/gcc-3-runtime
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   117
REQUIRED_PACKAGES += system/library/math