Changes in uspace/Makefile.common [d7b7f5e:8620b2f] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rd7b7f5e r8620b2f  
    4545#
    4646#   POSIX_COMPAT       set to 'y' to use POSIX compatibility layer
     47#   NEEDS_MATH         set to 'y' to add implementation of mathematical functions
    4748#
    4849# Optionally, for a binary:
     
    109110LIBSOFTFLOAT_PREFIX = $(LIB_PREFIX)/softfloat
    110111LIBSOFTINT_PREFIX = $(LIB_PREFIX)/softint
     112LIBMATH_PREFIX = $(LIB_PREFIX)/math
    111113
    112114LIBPOSIX_PREFIX = $(LIB_PREFIX)/posix
     
    233235endif
    234236
     237# Do we need math?
     238ifeq ($(NEEDS_MATH),y)
     239        BASE_LIBS += $(LIBMATH_PREFIX)/libmath.a
     240endif
     241
    235242## Setup platform configuration
    236243#
     
    244251
    245252ifeq ($(COMPILER),gcc_cross)
     253        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
     254        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
     255endif
     256
     257ifeq ($(COMPILER),gcc_helenos)
    246258        CFLAGS += $(GCC_CFLAGS) $(EXTRA_CFLAGS)
    247259        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
Note: See TracChangeset for help on using the changeset viewer.