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:
parent
c062050e8f
commit
9cc0e31013
@ -40,15 +40,9 @@ define Package/cbtt-mysql
|
|||||||
URL:=http://bnbtusermods.sourceforge.net
|
URL:=http://bnbtusermods.sourceforge.net
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
MAKE_FLAGS += \
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
LFLAGS="-L$(STAGING_DIR)/usr/lib -L $(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient -nodefaultlibs -lpthread -luClibc++ -lc -lm -lgcc" \
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
CFLAGS="-I$(STAGING_DIR)/usr/include -fno-builtin -fno-rtti -nostdinc++"
|
||||||
$(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
|
|
||||||
|
|
||||||
define Package/cbtt/install
|
define Package/cbtt/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user