This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Wrong dependencies in bfd (Re: PATCH: Add ELFOSABI_QNX)


While working on ELFOSABI_QNX, I found 2 incorrect dependencies in bfd:

# When compiling archures.c and targets.c, supply the default target
# info from configure.

targets.lo: targets.c config.status
        $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/targets.c

archures.lo: archures.c config.status
        $(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c

The problem is $(TDEFAULTS) comes from Makefile, not config.status.
Makefile, including TDEFAULTS, can change when config.status is
unchanged. This updated ELFOSABI_QNX patch also fixes it.


H.J.

Attachment: binutils-qnx.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]