Changeset ab936440 in mainline for uspace/Makefile.common
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
r7f7817a9 rab936440 120 120 STATIC_BUILD = y 121 121 else 122 ifeq ($(CONFIG_USE_SHARED_LIBS),y) 123 STATIC_BUILD = n 122 ifeq ($(CONFIG_BUILD_SHARED_LIBS),y) 123 ifeq ($(CONFIG_USE_SHARED_LIBS),y) 124 STATIC_BUILD = n 125 else 126 ifeq ($(LIBRARY),) 127 STATIC_BUILD = y 128 else 129 STATIC_BUILD = n 130 endif 131 endif 124 132 else 125 133 STATIC_BUILD = y … … 300 308 LIBARGS := $(addprefix -L$(USPACE_PREFIX)/lib/, $(LIBS)) $(addprefix -l, $(LIBS)) 301 309 310 ifneq ($(LIBRARY),libc) 311 LIBTAGS := $(LIBC_PREFIX)/tag $(LIBTAGS) 312 endif 313 302 314 .PHONY: all all-test clean fasterclean depend 303 315 … … 369 381 $(AR) rc $@ $(LOBJECTS) 370 382 371 $(SLIBRARY): $(LIBRARY).la 383 $(SLIBRARY): $(LIBRARY).la $(LIBTAGS) 372 384 $(CC) $(CFLAGS) $(LIB_LDFLAGS) $(EXTRA_LDFLAGS) -Wl,-Map,$@.map -o $@ -Wl,--whole-archive $(LIBRARY).la -Wl,--no-whole-archive $(LIBARGS) $(BASE_LIBS) 373 385
Note:
See TracChangeset
for help on using the changeset viewer.