summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dosfstools/patches/patch-Makefile')
-rw-r--r--package/dosfstools/patches/patch-Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile
index 328882ec4..e1b4b528c 100644
--- a/package/dosfstools/patches/patch-Makefile
+++ b/package/dosfstools/patches/patch-Makefile
@@ -1,17 +1,16 @@
--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
-+++ dosfstools-3.0.26/Makefile 2014-05-22 13:55:10.763081049 +0200
-@@ -32,7 +32,9 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G
++++ dosfstools-3.0.26/Makefile 2014-06-25 12:07:32.125122609 +0200
+@@ -32,7 +32,8 @@ OPTFLAGS = -O2 -fomit-frame-pointer -D_G
#WARNFLAGS = -Wall -pedantic -std=c99
WARNFLAGS = -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes
DEBUGFLAGS = -g
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)
+CFLAGS ?=
+CFLAGS += $(WARNFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-+LDLIBS = -liconv
VPATH = src
-@@ -48,7 +50,7 @@ mkfs.fat: mkfs.fat.o
+@@ -48,7 +49,7 @@ mkfs.fat: mkfs.fat.o
rebuild: distclean build
@@ -20,7 +19,7 @@
install-bin: build
install -d -m 0755 $(DESTDIR)/$(SBINDIR)
-@@ -73,7 +75,7 @@ install-man:
+@@ -73,7 +74,7 @@ install-man:
install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
done; \
done