summaryrefslogtreecommitdiff
blob: 3ae3c2ff054000c58c205fae6bfecef371026bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dont ignore ldflags
bug #209731


Index: detex-2.8/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,7 @@ D_OBJ	= detex.o
 all:	${PROGS}
 
 detex: ${D_OBJ}
-	${CC} ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB}
+	${CC} $(LDFLAGS) ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB}
 
 detex.c:
 	sed -f states.sed detex.l > xxx.l