disable use of gcc-specific "label as values" feature for HAVE_PCC

This commit is contained in:
plunky 2011-03-18 10:50:36 +00:00
parent f42fd8d0f1
commit e411304db7

View File

@ -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>