dosfstools: fix build with musl 1091/head
authorDaniel Golle <daniel@makrotopia.org>
Sun, 29 Mar 2015 14:24:31 +0000 (16:24 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 29 Mar 2015 14:24:31 +0000 (16:24 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/dosfstools/Makefile

index f5b2f94d7b1230d458b9ca927b28a2d613767ff4..41483f2ef7370f812f8ac7e545c4b26788f1ae56 100644 (file)
@@ -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)" \