From 43e4226bb48b0f4efe9fb05f6f7a3e8bdb7c28ee Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sat, 21 May 2011 15:57:11 +0000 Subject: [PATCH] In gcc/objc/: 2011-05-21 Nicola Pero In gcc/objc/: 2011-05-21 Nicola Pero * config-lang.in (gtfiles): Updated order of files to fix building when the gcc/cp directory is missing, as in the case of some release tarballs. From-SVN: r173998 --- gcc/objc/ChangeLog | 6 ++++++ gcc/objc/config-lang.in | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 1b2bb353abb..0b8b595e63c 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Nicola Pero + + * config-lang.in (gtfiles): Updated order of files to fix building + when the gcc/cp directory is missing, as in the case of some + release tarballs. + 2011-05-20 Nathan Froyd * objc-act.c (objc_compare_types): Use function_args_iterator diff --git a/gcc/objc/config-lang.in b/gcc/objc/config-lang.in index db5c5a59ec5..0de0650c0de 100644 --- a/gcc/objc/config-lang.in +++ b/gcc/objc/config-lang.in @@ -33,4 +33,7 @@ target_libs=target-libobjc # Most of the object files for cc1obj actually come from C. lang_requires="c" -gtfiles="\$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-runtime-shared-support.c \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-02.c \$(srcdir)/c-parser.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-lang.h \$(srcdir)/c-objc-common.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c" +# Order is important. If you change this list, make sure you test +# building without C++ as well; that is, remove the gcc/cp directory, +# and build with --enable-languages=c,objc. +gtfiles="\$(srcdir)/c-family/c-objc.h \$(srcdir)/objc/objc-act.h \$(srcdir)/objc/objc-act.c \$(srcdir)/objc/objc-runtime-shared-support.c \$(srcdir)/objc/objc-gnu-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-01.c \$(srcdir)/objc/objc-next-runtime-abi-02.c \$(srcdir)/c-parser.c \$(srcdir)/c-tree.h \$(srcdir)/c-decl.c \$(srcdir)/c-lang.h \$(srcdir)/c-objc-common.c \$(srcdir)/c-family/c-common.c \$(srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c-pragma.c"