Changeset af2254ec in mainline for uspace/Makefile.common
- Timestamp:
- 2016-05-22T19:12:04Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0dc2fec, f356618
- Parents:
- fe036fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
rfe036fe raf2254ec 160 160 LIBNETTL_PREFIX = $(LIB_PREFIX)/nettl 161 161 162 LIBURCU_PREFIX = $(LIB_PREFIX)/urcu163 164 162 AFLAGS = --fatal-warnings 165 163 LFLAGS = --fatal-warnings … … 185 183 endif 186 184 187 # Build static because liburcu is linked against libc which uses thread188 # local variables189 ifneq ($(findstring urcu, $(LIBS)),)190 STATIC_BUILD = y191 endif192 193 185 # Build static because libpcut is linked against libc which uses thread 194 186 # local variables … … 198 190 199 191 ifeq ($(STATIC_BUILD),y) 200 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIB URCU_PREFIX)/liburcu.a $(LIBSOFTINT_PREFIX)/libsoftint.a192 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a 201 193 LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld 202 194 ifeq ($(MATH),y) … … 301 293 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 302 294 303 ifeq ($(FUTEX_UPGRADABLE),y)304 CFLAGS += -I$(LIBURCU_PREFIX)/305 LIBS += $(LIBURCU_PREFIX)/liburcu.a306 endif307 308 295 ifeq ($(COMPILER),gcc_cross) 309 296 CFLAGS += $(GCC_CFLAGS)
Note:
See TracChangeset
for help on using the changeset viewer.