summaryrefslogtreecommitdiff
path: root/package/dosfstools/patches/patch-Makefile
blob: 1d127acbc1fd8fcb146394743c9056b52ffd122f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- dosfstools-3.0.26.orig/Makefile	2014-01-17 07:09:28.000000000 +0100
+++ dosfstools-3.0.26/Makefile	2014-03-13 08:58:52.000000000 +0100
@@ -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)
+LDLIBS = -liconv
 
 VPATH = src