#
# 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
#
#
#
# Don't use SSE3 or SSSE3 on Intel, because it's not completely portable.
# Do not tell GCC to assume strictly correct pointer aliasing. CLooG
# employs casts from incompatible pointer types.
# General-purpose SPARC incantations:
# - build for UltraSPARC-III (use fp registers for int whenever possible)
# - use VIS-2 Instructions whenever possible
# - there are no misaligned doubles in this code
# - don't do software float (we're not using quat-precision).
CFLAGS += -D_STDC_C99
CFLAGS += $(CPP_XPG6MODE)
CFLAGS += $(CLOOG_GCC_ARCH)
CXXFLAGS += $(CPP_XPG5MODE)
CXXFLAGS += $(CLOOG_GCC_ARCH)
CPPFLAGS += $(CPP_LARGEFILES)
COMPONENT_TEST_ENV += $(TEST_PATH)
COMPONENT_TEST_ENV += $(TARGET_ENV)
'-e "/libtool/d"' \
'-e "/-m32/d"' \
'-e "/-m64/d"' \
'-e "/ld: warning/d"' \
'-e "/warning/d"' \
'-e "/prototype:/d"' \
'-e "/argument/d"' \
'-e "/Entering/d"' \
'-e "/Leaving/d"' \
'-e "/check-TESTS/d"' \
'-e "/all-recursive/d"' \
'-e "/Making all/d"' \
'-e "/Making check/d"' \
'-e "/gnu/d"' \
'-e "/Nothing to be done/d"' \
'-e "/is up to date/d"' \
'-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
'-e "s^[0-9]\{1,\} kB/s^^g"' \
'-e "s^[0-9]\{1,\} kB/s^^g"' \
'-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
'-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
'-e "s/([0-9]\{1,\} B)//g"' \
'-e "s/([0-9]\{1,\} B)//g"' \
'-e "s/ \{1,\}copied/ copied/g"' \