use this workaround only with gcc2

This commit is contained in:
brad 2004-06-24 06:35:51 +00:00
parent 393c8c0b55
commit 9edc7d5f0b
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.99 2004/05/21 12:16:21 brad Exp $
# $OpenBSD: Makefile,v 1.100 2004/06/24 06:35:51 brad Exp $
# Uses pthreads
.if ${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "m88k"
@ -64,6 +64,8 @@ USE_GCC3?= No
.if ${USE_GCC3:L} == "yes"
CONFIGURE_ARGS+= --with-client-ldflags=-lsupc++ \
--with-mysqld-ldflags=-lsupc++
.else
PATCH_LIST= gcc-* patch-*
.endif
. if ${MACHINE_ARCH} == "i386"

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-sql_Makefile.in,v 1.17 2004/02/22 01:20:11 brad Exp $
$OpenBSD: gcc-patch-sql_Makefile_in,v 1.1 2004/06/24 06:35:51 brad Exp $
--- sql/Makefile.in.orig 2004-02-10 13:16:53.000000000 -0500
+++ sql/Makefile.in 2004-02-12 21:24:57.000000000 -0500
@@ -1017,8 +1017,7 @@ sql_yacc.h: sql_yacc.yy