Browse Source

dosfstools: fix build with musl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle 9 years ago
parent
commit
6f6245b358
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      utils/dosfstools/Makefile

+ 1
- 1
utils/dosfstools/Makefile View File

71
 define Build/Compile
71
 define Build/Compile
72
 	$(MAKE) -C $(PKG_BUILD_DIR) \
72
 	$(MAKE) -C $(PKG_BUILD_DIR) \
73
 		$(TARGET_CONFIGURE_OPTS) \
73
 		$(TARGET_CONFIGURE_OPTS) \
74
-		OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
74
+		OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" \
75
 		PREFIX="/usr" \
75
 		PREFIX="/usr" \
76
 		SBINDIR="/usr/sbin" \
76
 		SBINDIR="/usr/sbin" \
77
 		LDFLAGS="$(LDFLAGS)" \
77
 		LDFLAGS="$(LDFLAGS)" \