Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pcc/libexec/mkext build mkext with the same fla...
details: https://anonhg.NetBSD.org/src/rev/c1dea4eaa45b
branches: trunk
changeset: 764622:c1dea4eaa45b
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Apr 29 08:33:02 2011 +0000
description:
build mkext with the same flags as ccom (lack of -DGCC_COMPAT in
particular, but add -Dos_ and -Dmach_ just in case)
diffstat:
external/bsd/pcc/libexec/mkext/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3b7a9b61fe26 -r c1dea4eaa45b external/bsd/pcc/libexec/mkext/Makefile
--- a/external/bsd/pcc/libexec/mkext/Makefile Fri Apr 29 08:26:33 2011 +0000
+++ b/external/bsd/pcc/libexec/mkext/Makefile Fri Apr 29 08:33:02 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/04/14 09:31:25 plunky Exp $
+# $NetBSD: Makefile,v 1.2 2011/04/29 08:33:02 plunky Exp $
#
# this is really part of ccom, but HOSTPROG and PROG don't mix
@@ -6,15 +6,17 @@
.include <bsd.init.mk>
-.PATH: ${PCC_DIST}/cc/ccom \
- ${PCC_DIST}/arch/${TARGMACH} \
- ${PCC_DIST}/mip
+.PATH: ${PCC_DIST}/mip \
+ ${PCC_DIST}/arch/${TARGMACH}
HOSTPROG= mkext
MAN=
SRCS= mkext.c table.c common.c
HOST_CPPFLAGS+= -DMKEXT
+HOST_CPPFLAGS+= -DGCC_COMPAT
+HOST_CPPFLAGS+= -Dos_${TARGOS}
+HOST_CPPFLAGS+= -Dmach_${TARGMACH}
HOST_CPPFLAGS+= -I${PCC_DIST}/mip
HOST_CPPFLAGS+= -I${PCC_DIST}/arch/${TARGMACH}
HOST_CPPFLAGS+= -I${PCC_DIR}/include
Home |
Main Index |
Thread Index |
Old Index