Changeset 20729


Ignore:
Timestamp:
2010-04-06T10:59:52+02:00 (6 years ago)
Author:
nico
Message:

[packages] sipp: prevent spurious rebuilds (caused by PKG_BUILD_DIR containing .svn), link against libgcc_s when possible, remove trailing whitespaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/sipp/Makefile

    r15247 r20729  
    1515PKG_SOURCE_URL:=@SF/sipp 
    1616PKG_MD5SUM:=452a6f88f2d314dbb2f44e318a60982b 
    17  
    18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME).svn 
    1917 
    2018include $(INCLUDE_DIR)/package.mk 
     
    3533endef 
    3634 
    37 define Build/Compile     
     35TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS) 
     36 
     37define Build/Configure 
     38endef 
     39 
     40define Build/Compile 
    3841        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    3942                $(TARGET_CONFIGURE_OPTS) \ 
     
    4447                CPPFLAGS_linux="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \ 
    4548                LFLAGS_linux="$(TARGET_LDFLAGS)" \ 
    46                 LIBS="-nodefaultlibs -lncurses -luClibc++ -ldl -lpthread -lm -lgcc" \ 
     49                LIBS="-nodefaultlibs -lncurses -luClibc++ -ldl -lpthread -lm $(LIBGCC_S)" \ 
    4750                all 
    4851endef 
    4952 
    50 define Package/sipp/install      
     53define Package/sipp/install 
    5154        $(INSTALL_DIR) $(1)/usr/sbin 
    5255        $(INSTALL_BIN) $(PKG_BUILD_DIR)/sipp $(1)/usr/sbin/ 
Note: See TracChangeset for help on using the changeset viewer.