From c62a228fdd946986bad0b07ac96bab607e8311fd Mon Sep 17 00:00:00 2001 From: Oliver Ertl Date: Mon, 27 Aug 2007 21:52:05 +0000 Subject: [PATCH] cbtt: add -nodefaultlibs to LFLAGS SVN-Revision: 8511 --- net/cbtt/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/net/cbtt/Makefile b/net/cbtt/Makefile index a8f87b7f6..34025a722 100644 --- a/net/cbtt/Makefile +++ b/net/cbtt/Makefile @@ -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" \ - CFLAGS="-I$(STAGING_DIR)/usr/include -fno-builtin -fno-rtti -nostdinc++" - mkdir -p $(PKG_INSTALL_DIR)/usr/bin -endef +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++" define Package/cbtt/install $(INSTALL_DIR) $(1)/usr/bin -- 2.30.2