From c73aca2ef0ab80026d0c11da182f2ad6567b19f2 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Wed, 5 Jan 2000 21:03:03 +0000 Subject: - upgrade to 3.22.29 - add -O0 for compiling sql/sql_yacc.cc. Otherwise gcc eats a lot of memory and cpu time. It seems to be a gcc compiler bug in conjunction with -O. --- databases/mysql322-server/files/patch-aq | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 databases/mysql322-server/files/patch-aq (limited to 'databases/mysql322-server/files/patch-aq') diff --git a/databases/mysql322-server/files/patch-aq b/databases/mysql322-server/files/patch-aq new file mode 100644 index 000000000000..573324175921 --- /dev/null +++ b/databases/mysql322-server/files/patch-aq @@ -0,0 +1,13 @@ +--- sql/Makefile.in.orig Sat Jan 1 18:01:13 2000 ++++ sql/Makefile.in Wed Jan 5 20:28:17 2000 +@@ -317,6 +317,10 @@ + else :; fi + sql_yacc.hh: sql_yacc.cc + ++# gcc takes a lot of memory and cpu time if it compiles sql_yacc.cc with -O ++sql_yacc.o: sql_yacc.cc ++ $(CXXCOMPILE) -O0 -c $< ++ + + # This directory's subdirectories are mostly independent; you can cd + # into them and run `make' without going through this Makefile. -- cgit v1.2.3