Changeset 3d7594d in mainline


Ignore:
Timestamp:
2019-01-07T20:47:20Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c4df21
Parents:
063a3647
Message:

Fix dependency tracking for libc and shared libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r063a3647 r3d7594d  
    300300LIBARGS := $(addprefix -L$(USPACE_PREFIX)/lib/, $(LIBS)) $(addprefix -l, $(LIBS))
    301301
     302ifneq ($(LIBRARY),libc)
     303        LIBTAGS := $(LIBC_PREFIX)/tag $(LIBTAGS)
     304endif
     305
    302306.PHONY: all all-test clean fasterclean depend
    303307
     
    369373        $(AR) rc $@ $(LOBJECTS)
    370374
    371 $(SLIBRARY): $(LIBRARY).la
     375$(SLIBRARY): $(LIBRARY).la $(LIBTAGS)
    372376        $(CC) $(CFLAGS) $(LIB_LDFLAGS) $(EXTRA_LDFLAGS) -Wl,-Map,$@.map -o $@ -Wl,--whole-archive $(LIBRARY).la -Wl,--no-whole-archive $(LIBARGS) $(BASE_LIBS)
    373377
Note: See TracChangeset for help on using the changeset viewer.