diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-03 14:02:04 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-03 14:02:04 +0000 |
commit | 7b42e9bfb7f1fbbe1cde2bdcdbcdb2538060404e (patch) | |
tree | 7c2760245ee50e2a86b59097f92d396062768f34 | |
parent | 1c46f5edfaba9976580efe4b30b385a29a4d56c3 (diff) | |
download | termo-7b42e9bfb7f1fbbe1cde2bdcdbcdb2538060404e.tar.gz termo-7b42e9bfb7f1fbbe1cde2bdcdbcdb2538060404e.tar.xz termo-7b42e9bfb7f1fbbe1cde2bdcdbcdb2538060404e.zip |
Some platforms need -fPIC when compiling C code for eventual use in a shared library
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ libtermkey.so: termkey.o driver-csi.o driver-ti.o $(LD) -shared -soname=$(SONAME) -o $@ $^ -lncurses %.o: %.c - $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $^ + $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -fPIC -o $@ -c $^ .PHONY: clean clean: |