From 77f975f0e9515dc019103a011ad037b0ae75e8cf Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 21 Apr 2007 00:41:19 +0000 Subject: [PATCH] Force connection.c to be compiled with -O2 on VAX. --- x11/Xserver/os/Makefile | 5 ++++- x11/bin/lbxproxy/Makefile | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/x11/Xserver/os/Makefile b/x11/Xserver/os/Makefile index 164a7a4eb5d5..49aab84b2f59 100644 --- a/x11/Xserver/os/Makefile +++ b/x11/Xserver/os/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2005/03/19 21:41:58 christos Exp $ +# $NetBSD: Makefile,v 1.15 2007/04/21 00:41:20 matt Exp $ .include "../Makefile.serverlib" .include @@ -50,6 +50,9 @@ CPPFLAGS.transport.c= -DBSD44SOCKETS -I${X11SRCDIR.xc}/lib/xtrans CPPFLAGS.utils.c= ${XDMCP_DEFINES} ${X11FLAGS.EXTENSION} CPPFLAGS.xdmauth.c= ${XDMCP_DEFINES} COPTS.xdmauth.c= -Wno-error # XXX +.if ${MACHINE} == "vax" +COPTS.connection.c= -O2 # XXX +.endif CPPFLAGS.xdmcp.c= ${XDMCP_DEFINES} -DBSD44SOCKETS .if (${USE_PAM} != "no") CPPFLAGS.utils.c= ${XDMCP_DEFINES} -DUSE_PAM diff --git a/x11/bin/lbxproxy/Makefile b/x11/bin/lbxproxy/Makefile index 0af4e8a01018..8bc94ff9f7d3 100644 --- a/x11/bin/lbxproxy/Makefile +++ b/x11/bin/lbxproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/05/16 10:25:14 lukem Exp $ +# $NetBSD: Makefile,v 1.7 2007/04/21 00:41:19 matt Exp $ .include @@ -37,6 +37,10 @@ CPPFLAGS.io.c+= -DLBXPROXY_t -DTRANS_SERVER ${X11FLAGS.EXTENSION} CPPFLAGS.transport.c+= -DLBXPROXY_t -DTRANS_SERVER -DBSD44SOCKETS \ -I${X11SRCDIR.xc}/lib/xtrans +.if ${MACHINE} == "vax" +COPTS.connection.c+= -O2 +.endif + .PATH: ${X11SRCDIR.xc}/programs/${PROG}/config CONFIGFILES= AtomControl FILESDIR= ${LBXPROXYDIR}