#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# The GNU compiler wants the GNU utilities.
# This product bootstraps itself. The gcc flags are not the same
# as Studio flags. -O2 means different things for the two compilers
# direct binding cause various testsuite failures
# /usr/lib/ld/map.noexdata destroys Intel
# /usr/lib/ld/map.noexbss destroys SPARC
# for some reason the fixincludes target fails with bash on Solaris.
# sparc and x86 use different assemblers
# compile python modules
# strip elves, strip ignores non-elf files
# ASLR has side-effects with libitm and libgomp.
# Disable ASLR for now.
install: $(INSTALL_32)
# To ensure that all tests that are expected to pass actually
# pass, we have to increase the stacksize limit to at least
# 16MB. Otherwise we'll get spurious failures in the test
# harness (gcc.c-torture/compile/limits-exprparen.c and others).
# With the soft stacksize limit set to 16384 we get reasonably good
# test results.
COMPONENT_TEST_ARGS = -k -i
test: $(TEST_32)