summaryrefslogtreecommitdiff
path: root/databases/percona55-server/files/patch-aq
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-01-05 21:03:03 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-01-05 21:03:03 +0000
commitc73aca2ef0ab80026d0c11da182f2ad6567b19f2 (patch)
treea50a859b5d665a67576edb18b13e837a77a3966c /databases/percona55-server/files/patch-aq
parentUpdate port to 2.4 (diff)
- 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.
Notes
Notes: svn path=/head/; revision=24452
Diffstat (limited to 'databases/percona55-server/files/patch-aq')
-rw-r--r--databases/percona55-server/files/patch-aq13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/percona55-server/files/patch-aq b/databases/percona55-server/files/patch-aq
new file mode 100644
index 000000000000..573324175921
--- /dev/null
+++ b/databases/percona55-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.