Changeset 42337


Ignore:
Timestamp:
2014-08-30T13:02:22+02:00 (3 years ago)
Author:
jogo
Message:

binutils: link libbfd and libopcodes dynamically again

Build libbfd and libopcodes as shared libraries, else they get linked
statically into every binary, increasing each binary size by ~650kB.

Reduces binutils package size to old expected values.

Fixes #17060.

Signed-off-by: Jonas Gorski <jogo@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/devel/binutils/Makefile

    r41036 r42337  
    1010PKG_NAME:=binutils 
    1111PKG_VERSION:=2.24 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE_URL:=@GNU/binutils 
     
    4949 
    5050CONFIGURE_ARGS += \ 
     51        --enable-shared \ 
    5152        --enable-install-libiberty \ 
    5253        --enable-install-libbfd 
     
    6869        $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib 
    6970        $(CP) $(PKG_INSTALL_DIR)/usr/bin/objdump $(1)/usr/bin/ 
     71        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopcodes*.so $(1)/usr/lib/ 
     72        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbfd*.so $(1)/usr/lib/ 
    7073endef 
    7174 
Note: See TracChangeset for help on using the changeset viewer.