0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 0N/A# there seems to be no other way to enable large files support 0N/A# it seems that --with-pic doesn't get PIC flags to the C++ compiler 0N/A# libtools seems to be forcing -nolibs, so we have to add back libc, libm, 0N/A# libCstd and libCrun. The last two are needed because with Studio 12.2 0N/A# (and beyond), there is a bug in the CC driver that is not correctly using 0N/A# the '-library=Cstd,Crun' we are passing to it. 0N/A# Strip compilation lines from test output 0N/A '-e "s|^.*$(CC).*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^.*$(CXX).*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^.*source=.*libtool=no.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "s|^.*DEPDIR=.deps.*$$|XXX_CC_XXX|g" ' \
0N/A '-e "/Nothing to be done/d"' \
0N/A '-e "/Leaving directory/d"' \
0N/A '-e "/Entering directory/d"' \
0N/A '-e "/^XXX_CC_XXX$$/d" '