diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-25 14:30:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-25 14:30:43 +0200 |
commit | 81e6aeab7f2760eae093cbad02688d40058d2825 (patch) | |
tree | 47950d8bfcf2b32717beeaeb0bc267fc9407a451 /package/dosfstools/patches/patch-Makefile | |
parent | 486a2b404cb6ab5359a2b1c0008b7b83ed584a29 (diff) |
fix some compile errors
Diffstat (limited to 'package/dosfstools/patches/patch-Makefile')
-rw-r--r-- | package/dosfstools/patches/patch-Makefile | 9 |
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 |