diff options
author | Waldemar Brodkorb <wbx@openwrt.org> | 2006-01-04 08:37:19 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openwrt.org> | 2006-01-04 08:37:19 +0000 |
commit | 13b12c06c87998480e2642cb762693694f0c3b0f (patch) | |
tree | 2005252ef3db9de34d1b0b10656fae07bf82d55e /package/nmap/Makefile | |
parent | 9feda69af9dd6682ef0f92a4f63c223f1174e18b (diff) | |
download | upstream-13b12c06c87998480e2642cb762693694f0c3b0f.tar.gz upstream-13b12c06c87998480e2642cb762693694f0c3b0f.tar.bz2 upstream-13b12c06c87998480e2642cb762693694f0c3b0f.zip |
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2817 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nmap/Makefile')
-rw-r--r-- | package/nmap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/nmap/Makefile b/package/nmap/Makefile index 1aa8bed4c7..659bff9580 100644 --- a/package/nmap/Makefile +++ b/package/nmap/Makefile @@ -26,7 +26,7 @@ $(PKG_BUILD_DIR)/.configured: CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - LIBS="-luClibc++ -lc -lm" \ + LIBS="-luClibc++ -lc -lm -lgcc" \ ac_cv_prog_CXX="$(TARGET_CXX)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ |