summaryrefslogtreecommitdiff
path: root/databases/mysql50-server/files/patch-aq
blob: 57332417592192b5545770e24ff70576df0c5161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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.