gcc/ChangeLog:
* config/tilepro/t-tilepro: Replace CC_FOR_BUILD with
CXX_FOR_BUILD.
* config/tilegx/t-tilegx: Likewise.
From-SVN: r233390
+2016-02-12 Walter Lee <walt@tilera.com>
+
+ * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with
+ CXX_FOR_BUILD.
+ * config/tilegx/t-tilegx: Likewise.
+
2016-02-12 David Malcolm <dmalcolm@redhat.com>
PR other/69554
$(srcdir)/config/tilegx/mul-tables.c: \
$(srcdir)/config/tilepro/gen-mul-tables.cc
- $(CC_FOR_BUILD) $(BUILD_CPPFLAGS) -O2 -o gen-mul-tables -lstdc++ $<;
+ $(CXX_FOR_BUILD) $(BUILD_CPPFLAGS) -O2 -o gen-mul-tables $<;
./gen-mul-tables > $@
mul-tables.o: $(srcdir)/config/tilegx/mul-tables.c \
$(srcdir)/config/tilepro/mul-tables.c: \
$(srcdir)/config/tilepro/gen-mul-tables.cc
- $(CC_FOR_BUILD) $(BUILD_CPPFLAGS) -O2 -DTILEPRO \
- -o gen-mul-tables -lstdc++ $<;
+ $(CXX_FOR_BUILD) $(BUILD_CPPFLAGS) -O2 -DTILEPRO \
+ -o gen-mul-tables $<;
./gen-mul-tables > $@
mul-tables.o: $(srcdir)/config/tilepro/mul-tables.c \