Makefile revision 5346
7e3ffdd270e31d82db163acaf6d0849cb7dda0e8Julian Kornberger# CDDL HEADER START
db5e5ce1aaece909027be839755bcea14679f1e0Julian Kornberger# The contents of this file are subject to the terms of the
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase# Common Development and Distribution License (the "License").
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# You may not use this file except in compliance with the License.
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7224043c30f0796a30291cbe0d5e6d2afb1883acJulian Kornberger# or http://www.opensolaris.org/os/licensing.
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# See the License for the specific language governing permissions
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# and limitations under the License.
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# When distributing Covered Code, include this CDDL HEADER in each
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
068c4812bb4a75942b62c2124ca1875525b3ac5cJulian Kornberger# If applicable, add the following below this CDDL HEADER, with the
7224043c30f0796a30291cbe0d5e6d2afb1883acJulian Kornberger# fields enclosed by brackets "[]" replaced with your own identifying
ee5342a8882c2fc7631fcffb5497e6597747887cTim Reddehase# information: Portions Copyright [yyyy] [name of copyright owner]
db5e5ce1aaece909027be839755bcea14679f1e0Julian Kornberger# CDDL HEADER END
db5e5ce1aaece909027be839755bcea14679f1e0Julian Kornberger# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
db5e5ce1aaece909027be839755bcea14679f1e0Julian Kornberger# Build gcc with gcc
sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib -lgcc_s -lm';" usr/gcc/3.4/lib/$$file.orig >usr/gcc/3.4/lib/$$file ; \
sed -e "s;\\(dependency_libs=\\).*;\\1' -L/usr/gcc/3.4/lib/$(MACH64) -lgcc_s -lm';" usr/gcc/3.4/lib/$(MACH64)/$$file.orig >usr/gcc/3.4/lib/$(MACH64)/$$file ; \
$(TOUCH) $@
test: $(TEST_32)