From: nbd Date: Thu, 20 Mar 2014 13:51:27 +0000 (+0000) Subject: uboot-envtools: fix build with musl X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=9a3fe3de1278a552ee7d17702825ad8e4a9f5dde;p=openwrt.git uboot-envtools: fix build with musl Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39961 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch new file mode 100644 index 0000000000..eeed1d637c --- /dev/null +++ b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch @@ -0,0 +1,10 @@ +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -8,6 +8,7 @@ + * SPDX-License-Identifier: GPL-2.0+ + */ + ++#define _GNU_SOURCE + #include + #include + #include