Fix the build if stack protection is enabled.

This commit is contained in:
tron 2008-10-06 16:24:33 +00:00
parent 2802dcd2fb
commit c4db8cc4bd
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: dri.mk,v 1.2 2008/09/21 14:08:45 lukem Exp $
# $NetBSD: dri.mk,v 1.3 2008/10/06 16:24:33 tron Exp $
# XXX DRI_LIB_DEPS
@ -22,6 +22,8 @@ CPPFLAGS+= -D_NETBSD_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 \
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING \
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
CPPFLAGS+= -Wno-stack-protector
.PATH: ${X11SRCDIR.MesaLib}/src/mesa/drivers/dri/${MODULE} ${DRI_EXTRA_PATHS}
# Common sources

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ximcp,v 1.1 2008/09/07 13:15:11 rtr Exp $
# $NetBSD: Makefile.ximcp,v 1.2 2008/10/06 16:24:33 tron Exp $
.PATH: ${X11SRCDIR.X11}/modules/im/ximcp
SRCS.ximcp= \
@ -42,5 +42,6 @@ CPPFLAGS+= \
CPPFLAGS.imDefLkup.c= -Wno-error
CPPFLAGS.imRm.c= -Wno-error
CPPFLAGS.imTrans.c= -Wno-error
CPPFLAGS.imLcLkup.c= -Wno-stack-protector
.include <bsd.lib.mk>