cbtt: add -nodefaultlibs to LFLAGS

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8511 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2007-08-27 21:52:05 +00:00
parent c062050e8f
commit 9cc0e31013

View File

@ -40,15 +40,9 @@ define Package/cbtt-mysql
URL:=http://bnbtusermods.sourceforge.net
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
LFLAGS="-L$(STAGING_DIR)/usr/lib -L $(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient -lpthread -luClibc++ -lc -lm -lgcc" \
MAKE_FLAGS += \
LFLAGS="-L$(STAGING_DIR)/usr/lib -L $(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient -nodefaultlibs -lpthread -luClibc++ -lc -lm -lgcc" \
CFLAGS="-I$(STAGING_DIR)/usr/include -fno-builtin -fno-rtti -nostdinc++"
mkdir -p $(PKG_INSTALL_DIR)/usr/bin
endef
define Package/cbtt/install
$(INSTALL_DIR) $(1)/usr/bin