projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d598e
)
mtd-utils: link statically
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 10 Aug 2012 19:26:40 +0000
(19:26 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 10 Aug 2012 19:26:40 +0000
(19:26 +0000)
SVN-Revision: 33098
tools/mtd-utils/Makefile
patch
|
blob
|
history
diff --git
a/tools/mtd-utils/Makefile
b/tools/mtd-utils/Makefile
index 4763aad1918fca6637aebf930ce3b3199eb7bdf1..9a639fea411a2a0ea6aa6537c1a8fb7febb5365c 100644
(file)
--- a/
tools/mtd-utils/Makefile
+++ b/
tools/mtd-utils/Makefile
@@
-1,5
+1,5
@@
#
-# Copyright (C) 2006-201
0
OpenWrt.org
+# Copyright (C) 2006-201
2
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-28,6
+28,7
@@
endif
MTD_MAKEOPTS = \
CFLAGS="$(CFLAGS)" \
+ LDFLAGS="$(HOST_LDFLAGS) -static" \
WITHOUT_LZO=1 WITHOUT_XATTR=1 \
LZMA_STATIC_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
SUBDIRS="" \