This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
trim libgcc dependancies
- From: Mike Stump <mrs at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Jul 2006 09:39:25 -0700
- Subject: trim libgcc dependancies
libgcc by default is dependent upon all configured languages. I
think this is wrong, as it cannot use languages other than C, as
otherwise it would fail to build when only C was configured.
This patch trims the dependancy list for libgcc to not include
LANUAGES. GCC_PASSES is sufficient for get a dependancy for xgcc and
cc1 and slso avoids a phony target which is useful to prevent extra
stmp-multilib rebuilding. I think this is safe, as native has a
dependancy upon $(LANGUAGE):
native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
$(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2)
which will cause things in $(LANGUAGES) to be built. If a port
chooses to depend upon languages in addition to c, they can add to
the dependancy as they see fit.
Ok?
Attachment:
deps-1.diffs.txt
Description: Text document