pkgsrc/lang/gcc/patches/patch-ae
jlam 70ed1a955d Pull in diffs from gnusrc/dist/toolchain to allow Sparcs to build
lang/gcc.  The diffs change some double quotes to single quotes in some
sparc-only files so that the shell expression created is legal.  This fix
was independently found by Lubomir Sedlacik <salo@Xtrmntr.org> and
provided in pkg/18309.
2002-10-21 20:54:13 +00:00

7 lines
386 B
Text

$NetBSD: patch-ae,v 1.7 2002/10/21 20:54:14 jlam Exp $
--- ../gcc-2.95.3/config/mt-sparcpic.orig Thu Feb 5 19:33:04 1998
+++ ../gcc-2.95.3/config/mt-sparcpic
@@ -1 +1 @@
-PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`
+PICFLAG_FOR_TARGET=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`