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/backend Make this work with xpg4/s...
details: https://anonhg.NetBSD.org/src/rev/f9a787e2f2dc
branches: trunk
changeset: 783994:f9a787e2f2dc
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Jan 14 15:50:18 2013 +0000
description:
Make this work with xpg4/sh where "for x in;" is an error.
diffstat:
external/gpl3/gcc/usr.bin/backend/Makefile | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r 97091f4bc5f0 -r f9a787e2f2dc external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile Mon Jan 14 13:37:57 2013 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile Mon Jan 14 15:50:18 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2011/11/10 09:28:25 yamt Exp $
+# $NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
LIBISPRIVATE= yes
@@ -114,17 +114,16 @@
(\
echo "static const char *srcdir = \"$(G_GTFILES_SRCDIR)\";" ; \
echo "static const char *lang_files[] = {" ; \
- for f in $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \
+ for f in $$empty $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \
echo "NULL };" ; \
echo "static const char *langs_for_lang_files[] = {" ; \
- for f in $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done ; \
+ for f in $$empty $(G_GTFILES_FILES_LANGS); do echo "\"$$f\", "; done ; \
echo "NULL };" ; \
echo "static const char *all_files[] = {" ; \
- for f in $(G_GTFILES); do echo "\"$$f\", "; done ; \
+ for f in $$empty $(G_GTFILES); do echo "\"$$f\", "; done ; \
echo " NULL };" ; \
echo "static const char *lang_dir_names[] = {" ; \
- echo "\"c\", " ; \
- for f in $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done ; \
+ for f in c $(G_GTFILES_LANG_DIR_NAMES); do echo "\"$$f\", "; done ; \
echo "NULL };" ; \
) >${.TARGET}
Home |
Main Index |
Thread Index |
Old Index