1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/coda5_server/files/patch-aa
Steve Price 7322abeb85 Update to version 5.3.7.
PR:		18736
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2000-05-29 04:28:38 +00:00

17 lines
519 B
Plaintext

Some bug inside gcc version 2.95.2 19991024 (release) because
resolver.cc will not compile without -pedantic. Go figure.
Adding -pedantic to CXXFLAGS just breaks the other src files.
--- Makefile.in.ORIG Thu Apr 13 14:36:15 2000
+++ coda-src/asr/Makefile.in Thu Apr 13 14:37:56 2000
@@ -44,6 +44,9 @@
YFLAGS= -d
+resolver.o: resolver.cc
+ $(CXX) $(CXXFLAGS) -pedantic -c $<
+
resolver_parser.c: resolver_parser.h
resolver_parser.h: resolver_parser.y
$(YACC) $(YFLAGS) $< && mv y.tab.c $*.c && mv y.tab.h $*.h