summaryrefslogtreecommitdiff
path: root/net-mail/altermime/files/altermime-0.3.11-respect-flags.patch
blob: f870414a2f6dd9d2e17f63c868005ac7d5050ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
 #								opposite of a disclaimer.
 ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT
 #ALTERMIME_OPTIONS=
-CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
+CFLAGS+=-Wall $(ALTERMIME_OPTIONS)
 OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o
 
 
@@ -19,7 +19,7 @@
 all: altermime
 
 altermime: altermime.c ${OBJS}
-	${CC} ${CFLAGS} altermime.c ${OBJS} -o altermime
+	${CC} ${CFLAGS} ${LDFLAGS} altermime.c ${OBJS} -o altermime
 
 
 # Build Install