Changeset 9d8b12da in mainline for uspace/Makefile.common
- Timestamp:
- 2017-11-08T22:43:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 378948d
- Parents:
- d2e7a51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile.common
rd2e7a51 r9d8b12da 44 44 # EXTRA_CLEAN additional cleanup targets 45 45 # 46 # MATH set to 'y' to use the math library47 46 # POSIX_COMPAT set to 'y' to use POSIX compatibility layer 48 47 # … … 140 139 ifeq ($(STATIC_BUILD),y) 141 140 BASE_LIBS = $(LIBC_PREFIX)/libc.a $(LIBSOFTINT_PREFIX)/libsoftint.a 142 ifeq ($(MATH),y)143 BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a144 endif145 141 else 146 142 BASE_LIBS = $(LIBC_PREFIX)/libc.so.0 $(LIBSOFTINT_PREFIX)/libsoftint.so.0 147 143 LINK_DYNAMIC = y 148 ifeq ($(MATH),y)149 BASE_LIBS += $(LIBMATH_PREFIX)/libmath.so.0150 endif151 144 endif 152 145 … … 168 161 LIB_LINKER_SCRIPT = $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld 169 162 170 ifeq ($(MATH),y) 171 INCLUDES_FLAGS = $(LIBC_INCLUDES_FLAGS) $(LIBMATH_INCLUDES_FLAGS) 172 else 173 INCLUDES_FLAGS = $(LIBC_INCLUDES_FLAGS) 174 endif 163 INCLUDES_FLAGS = $(LIBC_INCLUDES_FLAGS) 175 164 176 165 ifneq ($(LIBRARY),) … … 179 168 180 169 INCLUDES_FLAGS += $(foreach lib,$(LIBS), -I$(LIB_PREFIX)/$(lib) -I$(LIB_PREFIX)/$(lib)/include) 170 171 # TODO: get rid of this special case 172 ifneq ($(filter math, $(LIBS)),) 173 INCLUDES_FLAGS += $(LIBMATH_INCLUDES_FLAGS) 174 endif 181 175 182 176 # PCUT-based unit tests
Note:
See TracChangeset
for help on using the changeset viewer.