summaryrefslogtreecommitdiff
path: root/dev-tex/csindex/files/csindex-2.11c-flags.patch
blob: f13914b2eeed3e9ce070ab337804c00f08ad09dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: csindex-19980713/Makefile
===================================================================
--- csindex-19980713.orig/Makefile
+++ csindex-19980713/Makefile
@@ -1,9 +1,9 @@
 DEFS=-DOS_SYSV
 OBJS=csindex.o genind.o mkind.o qsort.o scanid.o scanst.o sortid.o
-CFLAGS= -O2 $(DEFS)
+CFLAGS+= $(DEFS)
 
 all: csindex
 
 csindex: $(OBJS)
-	$(CC) -o csindex $(DEFS) $(OBJS) -lm
+	$(CC) $(LDFLAGS) -o csindex $(DEFS) $(OBJS) -lm