use COPTS(|.file.c)=-Wno-error to work around the gcc 3.3 warning:
``warning: comparison is always true due to limited range of data type''
This commit is contained in:
parent
64e2842be9
commit
cd4a914224
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:42 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2003/09/23 10:59:18 lukem Exp $
|
||||
|
||||
NOPIC= 1
|
||||
|
||||
|
@ -27,5 +27,7 @@ CPPFLAGS.FSOpenServ.c= $(CONN_DEFINES)
|
|||
CPPFLAGS.FSConnServ.c= $(CONN_DEFINES) $(SOCK_DEFINES)
|
||||
CPPFLAGS.transport.c= $(CONN_DEFINES) $(SOCK_DEFINES)
|
||||
|
||||
COPTS+= -Wno-error # XXX gcc 3.3
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.libx11,v 1.2 2003/09/20 06:20:52 lukem Exp $
|
||||
# $NetBSD: Makefile.libx11,v 1.3 2003/09/23 10:59:19 lukem Exp $
|
||||
|
||||
LIB= X11
|
||||
.PATH: ${X11SRCDIR.xc}/lib/${LIB}
|
||||
|
@ -120,6 +120,9 @@ CPPFLAGS.lcFile.c= $(XLC_DEFINES) $(SETID_DEFINES)
|
|||
CPPFLAGS.KeyBind.c= $(XKB_DEFINES)
|
||||
CPPFLAGS.XKBBind.c= $(XKB_DEFINES)
|
||||
CPPFLAGS.imConv.c= $(XKB_DEFINES)
|
||||
COPTS.XKBAlloc.c= -Wno-error # XXX gcc 3.3
|
||||
COPTS.XKBMAlloc.c= -Wno-error # XXX gcc 3.3
|
||||
COPTS.imThaiFlt.c= -Wno-error # XXX gcc 3.3
|
||||
|
||||
BUILDSYMLINKS= transport.c x11trans.c \
|
||||
transport.c ximtrans.c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 02:52:32 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2003/09/23 10:59:19 lukem Exp $
|
||||
|
||||
LIB= ximcp
|
||||
SRCS= imCallbk.c imDefFlt.c imDefIc.c imDefIm.c imDefLkup.c \
|
||||
|
@ -9,5 +9,6 @@ SRCS= imCallbk.c imDefFlt.c imDefIc.c imDefIm.c imDefLkup.c \
|
|||
|
||||
CPPFLAGS.imTrans.c= ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT
|
||||
CPPFLAGS.imTransR.c= ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT
|
||||
COPTS.imThaiFlt.c= -Wno-error # XXX gcc 3.3
|
||||
|
||||
.include "../Makefile.xlibi18n"
|
||||
|
|
Loading…
Reference in New Issue