From 682747ee9830bea6c8d7a89fb0f27ad2d334e603 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 30 Jul 2012 15:40:07 +0000 Subject: [PATCH] [package] dfu-util: do not build the static variant Some platforms like ARM do not provide a static libgcc and this will just fail unconditionnaly. git-svn-id: svn://svn.openwrt.org/openwrt/packages@32914 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/dfu-util/patches/001-no_static_binary.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 utils/dfu-util/patches/001-no_static_binary.patch diff --git a/utils/dfu-util/patches/001-no_static_binary.patch b/utils/dfu-util/patches/001-no_static_binary.patch new file mode 100644 index 000000000..2efa15eb5 --- /dev/null +++ b/utils/dfu-util/patches/001-no_static_binary.patch @@ -0,0 +1,12 @@ +diff -urN dfu-util/src/Makefile.am dfu-util.new/src/Makefile.am +--- dfu-util/src/Makefile.am 2007-10-06 23:36:18.000000000 +0200 ++++ dfu-util.new/src/Makefile.am 2012-07-30 15:13:04.020948991 +0200 +@@ -6,7 +6,7 @@ + '\n#endif' > dfu-version.h + BUILT_SOURCES = dfu-version.h + +-bin_PROGRAMS = dfu-util dfu-util_static ++bin_PROGRAMS = dfu-util + dfu_util_SOURCES = main.c sam7dfu.c dfu.c dfu.h + + dfu_util_static_SOURCES = main.c sam7dfu.c dfu.c dfu.h