commit 49b6ba1129628f4509012dc5bfe5b772d0153c53
parent 53ffbc9dbdbf83fece34aee3b1139f5c422792f0
Author: Steven Barth <steven@midlink.org>
Date: Tue, 31 Mar 2015 10:38:19 +0200
Merge pull request #1091 from dangowrt/fix-dosfstools-musl-build
dosfstools: fix build with musl
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/dosfstools/Makefile b/utils/dosfstools/Makefile
@@ -71,7 +71,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
+ OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" \
PREFIX="/usr" \
SBINDIR="/usr/sbin" \
LDFLAGS="$(LDFLAGS)" \