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 ... but make sure to unset...



details:   https://anonhg.NetBSD.org/src/rev/181d6fc8b971
branches:  trunk
changeset: 783995:181d6fc8b971
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 14 16:00:49 2013 +0000

description:
... but make sure to unset empty before it's used as an empty variable.

diffstat:

 external/gpl3/gcc/usr.bin/backend/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f9a787e2f2dc -r 181d6fc8b971 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Jan 14 15:50:18 2013 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Mon Jan 14 16:00:49 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2013/01/14 15:50:18 pooka Exp $
+#      $NetBSD: Makefile,v 1.16 2013/01/14 16:00:49 pooka Exp $
 
 LIBISPRIVATE=  yes
 
@@ -112,6 +112,7 @@
 gtyp-gen.h: Makefile
        ${_MKTARGET_CREATE}
        (\
+       unset empty                                                     ; \
        echo "static const char *srcdir = \"$(G_GTFILES_SRCDIR)\";"     ; \
        echo "static const char *lang_files[] = {"                      ; \
        for f in $$empty $(G_GTFILES_FILES_FILES); do echo "\"$$f\", "; done ; \



Home | Main Index | Thread Index | Old Index