Force connection.c to be compiled with -O2 on VAX.

This commit is contained in:
matt 2007-04-21 00:41:19 +00:00
parent 1de42023d1
commit 77f975f0e9
2 changed files with 9 additions and 2 deletions

View File

@ -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 <bsd.own.mk>
@ -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

View File

@ -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 <bsd.own.mk>
@ -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}