mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:04:38 +02:00
[tools] padjffs2: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33100 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ae7827e469
commit
17903f01ea
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
# Copyright (C) 2011-2012 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -18,6 +18,10 @@ define Host/Prepare
|
||||
find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
|
||||
endef
|
||||
|
||||
define Host/Compile
|
||||
$(MAKE) -C $(HOST_BUILD_DIR) LDFLAGS="-static"
|
||||
endef
|
||||
|
||||
define Host/Configure
|
||||
endef
|
||||
|
||||
|
@ -9,7 +9,7 @@ all: padjffs2
|
||||
$(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $<
|
||||
|
||||
padjffs2: $(padjffs2-objs)
|
||||
$(CC) -o $@ $(padjffs2-objs)
|
||||
$(CC) $(LDFLAGS) -o $@ $(padjffs2-objs)
|
||||
|
||||
clean:
|
||||
rm -f padjffs2 *.o
|
||||
|
Loading…
Reference in New Issue
Block a user