Makefile: Build Tcl extensions with `-fPIC'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 9 Aug 2016 21:24:41 +0000 (22:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 9 Aug 2016 21:24:55 +0000 (22:24 +0100)
Makefile

index d80a97c..fb0b24a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
 CC = gcc
 INCLUDES =
 CFLAGS = \
 CC = gcc
 INCLUDES =
 CFLAGS = \
-       -O2 -g -Wall -funroll-loops -fomit-frame-pointer \
+       -O2 -g -Wall -fPIC -funroll-loops -fomit-frame-pointer \
        $(INCLUDES)
 LD = gcc
 LDFLAGS = -shared
        $(INCLUDES)
 LD = gcc
 LDFLAGS = -shared