Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/bin/xedit/lisp disable use of gcc-specific...
details: https://anonhg.NetBSD.org/src/rev/340dbd782460
branches: trunk
changeset: 763381:340dbd782460
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Mar 18 10:50:36 2011 +0000
description:
disable use of gcc-specific "label as values" feature for HAVE_PCC
diffstat:
external/mit/xorg/bin/xedit/lisp/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 3041651c245f -r 340dbd782460 external/mit/xorg/bin/xedit/lisp/Makefile
--- a/external/mit/xorg/bin/xedit/lisp/Makefile Fri Mar 18 10:42:54 2011 +0000
+++ b/external/mit/xorg/bin/xedit/lisp/Makefile Fri Mar 18 10:50:36 2011 +0000
@@ -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 @@
-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>
Home |
Main Index |
Thread Index |
Old Index