chiark / gitweb /
Makefile: Build Tcl extensions with `-fPIC'.
[rocl] / Makefile
index d80a97c32a6c14f575ea313b49e5a8ebbb1efb08..fb0b24ae71c1811d82f72e8ad6ceac206205e7ef 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