Changeset f356618 in mainline for uspace/Makefile.common
- Timestamp:
- 2016-05-22T21:05:55Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b3364b7c
- Parents:
- af2254ec (diff), 3a9414e (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
raf2254ec rf356618 177 177 endif 178 178 179 # Build static whenever we use libusb because that library uses180 # thread local variables181 ifneq ($(findstring usb, $(LIBS)),)182 STATIC_BUILD = y183 endif184 185 # Build static because libpcut is linked against libc which uses thread186 # local variables187 ifneq ($(TEST_SOURCES),)188 STATIC_BUILD = y189 endif190 191 179 ifeq ($(STATIC_BUILD),y) 192 180 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a 193 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld194 181 ifeq ($(MATH),y) 195 182 BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a … … 197 184 else 198 185 BASE_LIBS = $(LIBC_PREFIX)/libc.so.0 $(LIBSOFTINT_PREFIX)/libsoftint.so.0 199 LFLAGS += -Bdynamic 200 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 186 LINK_DYNAMIC = y 201 187 ifeq ($(MATH),y) 202 188 BASE_LIBS += $(LIBMATH_PREFIX)/libmath.so.0 203 189 endif 190 endif 191 192 ifeq ($(LINK_DYNAMIC),y) 193 LFLAGS += -Bdynamic 194 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 195 else 196 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld 204 197 endif 205 198
Note:
See TracChangeset
for help on using the changeset viewer.