Changeset 54146a0 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2011-05-01T11:45:50Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2a6a04b
Parents:
5d4763b
Message:

Add missing sections to ia32 linker script. Now we discard debugging sections
from shared libs and dynamically linked executables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r5d4763b r54146a0  
    4747#   STATIC_NEEDED      set to 'y' for init binaries, will build statically
    4848#                      linked version
     49#   STATIC_ONLY        set to 'y' if binary cannot be linked dynamically
     50#                      (e.g. uses thread-local variables)
    4951#
    5052# Optionally, for a libary:
     
    113115        STATIC_BUILD = y
    114116else
    115         ifeq ($(CONFIG_USE_SHARED_LIBS), y)
    116                 STATIC_BUILD = n
     117        ifeq ($(STATIC_ONLY),y)
     118                STATIC_BUILD = y
    117119        else
    118                 STATIC_BUILD = y
     120                ifeq ($(CONFIG_USE_SHARED_LIBS), y)
     121                        STATIC_BUILD = n
     122                else
     123                        STATIC_BUILD = y
     124                endif
    119125        endif
    120126endif
Note: See TracChangeset for help on using the changeset viewer.