diff options
author | David Kastrup <dak@gnu.org> | 2016-05-31 15:52:42 +0200 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2016-05-31 16:32:41 +0200 |
commit | 1b6d6de94a26c3e8b75e1f78f6d0cfc9eec96a89 (patch) | |
tree | 8c04b724a3f87a55bf349aa907cdca576f73e866 /stepmake | |
parent | 905109ea0e90efa8d9c1ba02769e458a0707cc47 (diff) |
Issue 4871: Autoconf variable $(LD) should be just for C
We link using $(CXX) for C++. This was smudged together previously.
Diffstat (limited to 'stepmake')
-rw-r--r-- | stepmake/stepmake/executable-rules.make | 2 | ||||
-rw-r--r-- | stepmake/stepmake/test-rules.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stepmake/stepmake/executable-rules.make b/stepmake/stepmake/executable-rules.make index 785be9ef6f..daf2d8659d 100644 --- a/stepmake/stepmake/executable-rules.make +++ b/stepmake/stepmake/executable-rules.make @@ -10,4 +10,4 @@ $(O_FILES): $(outdir)/config.hh $(EXECUTABLE): $(O_FILES) $(outdir)/version.hh $(MODULE_LIBS:%=%/$(outdir)/library.a) $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true - $(LD) -o $@ $(O_FILES) $(LOADLIBES) $(ALL_LDFLAGS) + $(CXX) -o $@ $(O_FILES) $(LOADLIBES) $(ALL_LDFLAGS) diff --git a/stepmake/stepmake/test-rules.make b/stepmake/stepmake/test-rules.make index e10e83c7d8..7fbb413c78 100644 --- a/stepmake/stepmake/test-rules.make +++ b/stepmake/stepmake/test-rules.make @@ -8,4 +8,4 @@ $(foreach a, $(MODULE_LIBS), $(eval $(call MODULE_LIB_template,$(a)))) $(TEST_EXECUTABLE): $(TEST_O_FILES) $(TEST_MODULE_LIBS:%=%/$(outdir)/library.a) $(foreach a, $(TEST_MODULE_LIBS), $(MAKE) -C $(a) && ) true - $(LD) -o $@ $(TEST_O_FILES) $(TEST_LOADLIBES) $(ALL_LDFLAGS) + $(CXX) -o $@ $(TEST_O_FILES) $(TEST_LOADLIBES) $(ALL_LDFLAGS) |