From 6f6245b358d4a9717cc450bae3d064eb448e2c59 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 29 Mar 2015 16:24:31 +0200 Subject: [PATCH] dosfstools: fix build with musl Signed-off-by: Daniel Golle --- utils/dosfstools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/dosfstools/Makefile b/utils/dosfstools/Makefile index f5b2f94d7b..41483f2ef7 100644 --- 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)" \