Makefile revision 5546
286N/A# The contents of this file are subject to the terms of the 286N/A# Common Development and Distribution License (the "License"). 286N/A# You may not use this file except in compliance with the License. 286N/A# See the License for the specific language governing permissions 286N/A# and limitations under the License. 286N/A# When distributing Covered Code, include this CDDL HEADER in each 286N/A# If applicable, add the following below this CDDL HEADER, with the 286N/A# fields enclosed by brackets "[]" replaced with your own identifying 286N/A# information: Portions Copyright [yyyy] [name of copyright owner] 286N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. 286N/A# Disable the leaf optimisation feature, because the st_nlinks directory 286N/A# field is incorrect on ZFS file systems. 286N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
286N/A '-e "s|^.*(core dumped).*$$|XXX_CC_XXX|g" ' \
286N/A '-e "/^XXX_CC_XXX$$/d" ' \
286N/A '-e "s|\(Test Run By\).*|\1|" ' \
286N/A '-e "s|\(Native configuration is\).*|\1|" ' 286N/A# Needed for "gmake test" to work successfully. 286N/A# Otherwise we see errors such as: