diff options
author | dmcmahill <dmcmahill> | 2002-07-18 00:54:36 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-07-18 00:54:36 +0000 |
commit | 605414f15e2323f2ddb030608912d4fe3c21e421 (patch) | |
tree | 2bb5965ab4adfb07d3d7dcc4c06e045d98485363 /lang/cilk/patches | |
parent | c6e011309609400587478b0819f0b601707dd3c6 (diff) | |
download | pkgsrc-605414f15e2323f2ddb030608912d4fe3c21e421.tar.gz |
repair compilation on pre gcc-2.95.* systems broken by last commit.
Should still work on gcc-2.95.* systems.
Diffstat (limited to 'lang/cilk/patches')
-rw-r--r-- | lang/cilk/patches/patch-ab | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/lang/cilk/patches/patch-ab b/lang/cilk/patches/patch-ab index 3ac9e6be93e..c2ce5460932 100644 --- a/lang/cilk/patches/patch-ab +++ b/lang/cilk/patches/patch-ab @@ -1,13 +1,16 @@ -$NetBSD: patch-ab,v 1.1 2002/07/17 08:36:12 agc Exp $ +$NetBSD: patch-ab,v 1.2 2002/07/18 00:54:36 dmcmahill Exp $ ---- support/Makefile.in 2002/07/17 08:20:43 1.1 -+++ support/Makefile.in 2002/07/17 08:21:04 -@@ -83,7 +83,7 @@ - CILK_PAGESIZE = @CILK_PAGESIZE@ - PTHREAD_LIBS = @PTHREAD_LIBS@ @HOARD_LIBS@ - GNU_LD = "@HAVE_GNU_LD@" --CPP_FOR_CILK = @CPP_FOR_CILK@ -+CPP_FOR_CILK = cpp0 - - CC = ./cilk-local +--- configure.orig Wed Jul 17 19:18:48 2002 ++++ configure +@@ -2074,10 +2074,7 @@ + { echo "configure: error: "gcc does not accept the --specs option. Please upgrade gcc to v2.95 or newer."" 1>&2; exit 1; } + fi +-if test "$HAVE_GCC_2_96" = "yes"; then +- echo "WARNING: I found gcc-2.96. This version of gcc is untested with Cilk." +- echo "Please report any problem to cilk-support@lists.sourceforge.net" +- ++if test -f /usr/libexec/cpp0; then + CPP_FOR_CILK=cpp0 + else + CPP_FOR_CILK=cpp |