blob: e1b4b528c3a4010f5d198ac87d99c7a66aade565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- dosfstools-3.0.26.orig/Makefile 2014-01-17 07:09:28.000000000 +0100
+++ 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
VPATH = src
@@ -48,7 +49,7 @@ mkfs.fat: mkfs.fat.o
rebuild: distclean build
-install: install-bin install-doc install-man install-symlinks
+install: install-bin install-symlinks
install-bin: build
install -d -m 0755 $(DESTDIR)/$(SBINDIR)
@@ -73,7 +74,7 @@ install-man:
install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(MANDIR)/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
done; \
done
-install-symlinks: install-bin install-man
+install-symlinks: install-bin
if [ -e $(DESTDIR)/$(SBINDIR)/fatlabel ]; \
then \
ln -sf fatlabel $(DESTDIR)/$(SBINDIR)/dosfslabel; \
|