aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/mailx-support/mailx-support-ldflags.patch
blob: 97c5b60047f3414452d772257686761e6cf9625f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- mailx-support-20060102.orig/Makefile
+++ mailx-support-20060102/Makefile
@@ -17,10 +17,10 @@ clean:
 	${RM} -f ${PRODUCTS} *.o
 
 mail.local: mail.local.o locking.o open_with_exlock.o
-	${CC} ${CFLAGS} -o $@ $^
+	${CC} ${LDFLAGS} ${CFLAGS} -o $@ $^
 
 lockspool: lockspool.o locking.o open_with_exlock.o
-	${CC} ${CFLAGS} -o $@ $^
+	${CC} ${LDFLAGS} ${BINDNOW_FLAGS} ${CFLAGS} -o $@ $^
 
 .c.o:
 	${CC} ${CFLAGS} -c -o $@ $^