Fix the build if stack protection is enabled.
This commit is contained in:
parent
2802dcd2fb
commit
c4db8cc4bd
4
external/mit/xorg/lib/dri/dri.mk
vendored
4
external/mit/xorg/lib/dri/dri.mk
vendored
@ -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
|
||||
|
3
external/mit/xorg/lib/libX11/Makefile.ximcp
vendored
3
external/mit/xorg/lib/libX11/Makefile.ximcp
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user