diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-01-04 08:37:19 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-01-04 08:37:19 +0000 |
commit | e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df (patch) | |
tree | 6b5fd954a8bceb44d8c0716b5017b18ae7a2292a /openwrt/package/kismet | |
parent | 1c59bfaaf40a3da51600e2fbfff62cfd85012fd9 (diff) | |
download | mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.zip mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.tar.gz mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.tar.bz2 |
patch for spec file of gcc 3.4.4, so that libgss library is not automatically linked into every binary. explicitely link it into needed packages (kismet, nmap, samba) and add dependencies. idea and patch from sven-ola, thx. Saves 16 kb in the default squashfs images.
SVN-Revision: 2817
Diffstat (limited to 'openwrt/package/kismet')
-rw-r--r-- | openwrt/package/kismet/Makefile | 4 | ||||
-rw-r--r-- | openwrt/package/kismet/ipkg/kismet.control | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/kismet/Makefile b/openwrt/package/kismet/Makefile index 366fddd..58e3f50 100644 --- a/openwrt/package/kismet/Makefile +++ b/openwrt/package/kismet/Makefile @@ -28,7 +28,7 @@ $(PKG_BUILD_DIR)/.configured: CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(LINUX_DIR)/include" \ LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - LIBS="-luClibc++ -lc -lm" \ + LIBS="-luClibc++ -lc -lm -lgcc" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -58,7 +58,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ - LIBS="-luClibc++ -lc -lm" \ + LIBS="-luClibc++ -lc -lm -lgcc" \ all touch $@ diff --git a/openwrt/package/kismet/ipkg/kismet.control b/openwrt/package/kismet/ipkg/kismet.control index ef77d81..1933285 100644 --- a/openwrt/package/kismet/ipkg/kismet.control +++ b/openwrt/package/kismet/ipkg/kismet.control @@ -1,7 +1,7 @@ Package: kismet Priority: optional Section: net -Depends: kismet-client, kismet-server +Depends: libgcc, kismet-client, kismet-server Description: kismet Kismet is an 802.11 layer2 wireless network detector, sniffer, and intrusion detection system. Kismet will work with any |