disable use of gcc-specific "label as values" feature for HAVE_PCC
This commit is contained in:
parent
f42fd8d0f1
commit
e411304db7
7
external/mit/xorg/bin/xedit/lisp/Makefile
vendored
7
external/mit/xorg/bin/xedit/lisp/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2011/03/18 10:50:36 plunky Exp $
|
||||
|
||||
MKPRIVATELIB= yes
|
||||
|
||||
@ -16,6 +16,11 @@ CPPFLAGS+= -DLISP -DLISPDIR=\"${X11LIBDIR}/xedit/lisp\" \
|
||||
-I${X11SRCDIR.xedit} \
|
||||
-I${X11SRCDIR.xc}/programs
|
||||
|
||||
.if defined(HAVE_PCC)
|
||||
# code uses gcc-specific "label as values" feature
|
||||
CPPFLAGS+= -DANSI_SOURCE
|
||||
.endif
|
||||
|
||||
.PATH: ${X11SRCDIR.xedit}/lisp
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user