summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-11 04:53:11 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-11 04:53:11 (EDT)
commit200a1d67237bf9e46794d2d755d8c581a4311f9d (patch)
treee22a82a76ab134641f8802b1b4ec742c434bb64c
parentd0e6ecb1a52234c6a271e3dc9b500949184fc858 (diff)
Fix blocksort.sho compilation.
-rw-r--r--patches/01_properly-support-shared-library.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/patches/01_properly-support-shared-library.patch b/patches/01_properly-support-shared-library.patch
index 7098225..6bd71db 100644
--- a/patches/01_properly-support-shared-library.patch
+++ b/patches/01_properly-support-shared-library.patch
@@ -76,7 +76,8 @@ diff -Naur src.orig/Makefile src/Makefile
+
+blocksort.sho: blocksort.c
@cat words0
- $(CC) $(CFLAGS) -c blocksort.c
+- $(CC) $(CFLAGS) -c blocksort.c
++ $(CC) $(CFLAGS) -D_REENTRANT -fPIC -c -o $@ $?
-huffman.o: huffman.c
- $(CC) $(CFLAGS) -c huffman.c
-crctable.o: crctable.c