Makefile revision 5680
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# CDDL HEADER START
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# The contents of this file are subject to the terms of the
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# Common Development and Distribution License (the "License").
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# You may not use this file except in compliance with the License.
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# See the License for the specific language governing permissions
9210d8796eaf4125ac58c034f9b5ca167857a55aAutomatic Updater# and limitations under the License.
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# CDDL HEADER END
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt sha256:ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d
76786c2904942b708d8a7a4659df74da5dc9446eEvan HuntCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# Fixes coredump in the tests/test-localename test.
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# Disable the leaf optimisation feature, because the st_nlinks directory
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# field is incorrect on ZFS file systems.
7ae7246a6339bb3a79ffc9f2f9c486de9a2bf65eAutomatic UpdaterCOMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "s|^.*(core dumped).*$$|XXX_CC_XXX|g" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "/^XXX_CC_XXX$$/d" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "s|\(Test Run By\).*|\1|" ' \
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt '-e "s|\(Native configuration is\).*|\1|" '
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# Needed for "gmake test" to work successfully.
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# Otherwise we see errors such as:
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# FAIL: exec-nogaps.old-O3, sh: SHELLOPTS: readonly variable
76786c2904942b708d8a7a4659df74da5dc9446eEvan Hunt# test dependencies: