Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin/libcpp init.o wants a localedir.h ...
details: https://anonhg.NetBSD.org/src/rev/bb594867efae
branches: trunk
changeset: 766589:bb594867efae
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jun 28 09:31:55 2011 +0000
description:
init.o wants a localedir.h to define LOCALEDIR now. make it so.
diffstat:
external/gpl3/gcc/usr.bin/libcpp/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r a793c940d9be -r bb594867efae external/gpl3/gcc/usr.bin/libcpp/Makefile
--- a/external/gpl3/gcc/usr.bin/libcpp/Makefile Tue Jun 28 09:31:11 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/libcpp/Makefile Tue Jun 28 09:31:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
+# $NetBSD: Makefile,v 1.2 2011/06/28 09:31:55 mrg Exp $
LIBISPRIVATE= yes
@@ -7,7 +7,7 @@
SRCS= ${G_libcpp_a_OBJS:.o=.c}
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \
- -I${GCCARCH} -I${BACKENDOBJ} \
+ -I${GCCARCH} -I${BACKENDOBJ} -I. \
${G_INCLUDES:M-I*:N-I.*} \
-DPREFIX=\"/usr\"
@@ -18,3 +18,8 @@
.PATH: ${DIST}/libcpp
# ${DIST}/gcc
+
+localedir.h:
+ echo '#define LOCALEDIR "/usr/share/locale"' > ${.TARGET}
+
+init.o: localedir.h
Home |
Main Index |
Thread Index |
Old Index