110N/A# The contents of this file are subject to the terms of the 110N/A# Common Development and Distribution License (the "License"). 110N/A# You may not use this file except in compliance with the License. 110N/A# See the License for the specific language governing permissions 110N/A# and limitations under the License. 110N/A# When distributing Covered Code, include this CDDL HEADER in each 110N/A# If applicable, add the following below this CDDL HEADER, with the 110N/A# fields enclosed by brackets "[]" replaced with your own identifying 110N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5516N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 5680N/A# Avoid running configure again during the build due to patches to 5680N/A# configure-related files by running autoconf before we run configure. 5680N/A# Enable C99 mode + -Xc for its additional warnings. 110N/A# Use the maximum number of registers on sparc since we have no libraries 110N/A# 8 byte memory alignment + interpretation of non-alignment instead of SIGBUS 110N/A# -xinline=%auto -- we like inlining where appropriate 110N/A# -xbuiltin=%none -- builtins have been known to be buggy 110N/A# configure checks for some functions, but doesn't seem to want to link in 110N/A# just because we pass -mt, by explicitly passing -lc. 110N/A# -z redlocsym -- let's shrink the SHT_SYMTAB as much as we can 5516N/A# Results output is slightly different on Intel vs. SPARC. 3823N/A# Do not change the order of these regexp transforms. 3823N/A '-e "s/^[0-9]\{1,\}[a-z]\{1,\}[0-9]\{1,\}//g"' \
3823N/A '-e "s/^[0-9]\{1,\},[0-9]\{1,\}[a-z]\{1,\}[0-9]\{1,\},[0-9]\{1,\}//g"' \
110N/A# The bash test harness needs the GNU userland utilities 5680N/A# This avoids the need to patch configure or other files for these dependencies. 5680N/A# Ignore tgetent() checks in configure and use libncurses on Solaris. 5680N/A# bash will trigger an autoconf during the build; so apply above again 5680N/A# XXX just apply configure_env? 5680N/A# COMPONENT_BUILD_ENV += $(CONFIGURE_ENV) 4708N/A# The tests use /tmp/xx, and there can only be one user running 5516N/A# the them at a time. Need to remove /tmp/xx after testing to 4708N/A# avoid permission issues for other users running these tests