aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-10-24 11:09:30 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-10-24 11:09:30 +0000
commit1f59b31508e341ef159d56a679e0e8a76e6d0b2e (patch)
tree5872cf449639be8fe2b4f2b627d10bd16702d17c /gcc
parente0ee10ed5af17d90ea7621d4270a50284ad76c45 (diff)
downloadgcc-1f59b31508e341ef159d56a679e0e8a76e6d0b2e.zip
gcc-1f59b31508e341ef159d56a679e0e8a76e6d0b2e.tar.gz
gcc-1f59b31508e341ef159d56a679e0e8a76e6d0b2e.tar.bz2
Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV) to genmatch BUILD_LIBS instead.
2014-10-24 Richard Biener <rguenther@suse.de> * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV) to genmatch BUILD_LIBS instead. From-SVN: r216632
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in20
2 files changed, 16 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b72f4cb..683edcc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2014-10-24 Richard Biener <rguenther@suse.de>
+ * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV)
+ to genmatch BUILD_LIBS instead.
+
+2014-10-24 Richard Biener <rguenther@suse.de>
+
* genmatch.c (expr::gen_transform): Use fold_buildN_loc
and build_call_expr_loc.
(dt_simplify::gen): Drop non_lvalue for GIMPLE, use
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index b7b3f60..d22da13 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -981,15 +981,6 @@ else
LIBIBERTY = ../libiberty/libiberty.a
BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
endif
-# For stage1 and when cross-compiling use the build libcpp which is
-# built with NLS disabled. For stage2+ use the host library and
-# its dependencies.
-ifeq ($(build_objdir),$(build_libobjdir))
-BUILD_CPPLIB = $(build_libobjdir)/libcpp/libcpp.a
-else
-BUILD_CPPLIB = $(CPPLIB) $(LIBIBERTY) $(LIBINTL) $(LIBICONV)
-build/genmatch$(build_exeext): BUILD_LIBDEPS += $(LIBINTL_DEP) $(LIBICONV_DEP)
-endif
# Dependencies on the intl and portability libraries.
LIBDEPS= libcommon.a $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) \
@@ -2529,6 +2520,17 @@ genprog = $(genprogerr) check checksum condmd match
# These programs need libs over and above what they get from the above list.
build/genautomata$(build_exeext) : BUILD_LIBS += -lm
+# For stage1 and when cross-compiling use the build libcpp which is
+# built with NLS disabled. For stage2+ use the host library and
+# its dependencies.
+ifeq ($(build_objdir),$(build_libobjdir))
+BUILD_CPPLIB = $(build_libobjdir)/libcpp/libcpp.a
+else
+BUILD_CPPLIB = $(CPPLIB) $(LIBIBERTY)
+build/genmatch$(build_exeext): BUILD_LIBDEPS += $(LIBINTL_DEP) $(LIBICONV_DEP)
+build/genmatch$(build_exeext): BUILD_LIBS += $(LIBINTL) $(LIBICONV)
+endif
+
build/genmatch$(build_exeext) : $(BUILD_CPPLIB) \
$(BUILD_ERRORS) build/vec.o build/hash-table.o