summaryrefslogtreecommitdiff
path: root/cad/verilog-current/patches/patch-ad
blob: 5e15e6992a53f645362420caa7bffba6a1eb71f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.6 2000/08/06 15:43:35 dmcmahill Exp $

work around a c++ -O2 bug which is present on at least sparc 
and pmax using egcs-1.1.1 

--- Makefile.in.orig	Fri Jul 14 02:12:56 2000
+++ Makefile.in	Sat Aug  5 17:43:55 2000
@@ -116,4 +116,6 @@
 
 parse.o dep/parse.d: parse.cc
+	$(CXX) -MD -c -I. $(CPPFLAGS)  $<
+	mv parse.d dep/parse.d
 
 parse.h parse.cc: $(srcdir)/parse.y