Changeset 664af708 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2011-02-20T19:20:56Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83fd0d7, eb1a2f4, f483a15
Parents:
a99330e
Message:

Add explicit dependency of the output binary on the object files to
prevent parallel build failures.
(Thanks to Vojtech Horky.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    ra99330e r664af708  
    217217        makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(SOURCES) > $@ 2> /dev/null
    218218        -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@
     219
     220##
     221# This explicit dependecy of the output binary on the object files seems to be
     222# necessary to prevent parallel build failures (GNU make bug #26893 ???).
     223$(OUTPUT): $(OBJECTS)
     224
Note: See TracChangeset for help on using the changeset viewer.