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-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dosfstools/patches/patch-Makefile b/package/dosfstools/patches/patch-Makefile
index 984244502..328882ec4 100644
--- a/package/dosfstools/patches/patch-Makefile
+++ b/package/dosfstools/patches/patch-Makefile
@@ -1,12 +1,12 @@
--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
-+++ dosfstools-3.0.26/Makefile 2014-05-05 13:38:09.000000000 +0200
++++ dosfstools-3.0.26/Makefile 2014-05-22 13:55:10.763081049 +0200
@@ -32,7 +32,9 @@ 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)
++CFLAGS += $(WARNFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+LDLIBS = -liconv
VPATH = src