1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/databases/percona55-server/files/patch-aq
Dirk Froemberg c73aca2ef0 - 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.
2000-01-05 21:03:03 +00:00

14 lines
424 B
Plaintext

--- 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.