From b20085903e3cc1012305948d9fe4ac19c53b9e5c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Nov 2016 11:33:18 +0000 Subject: [PATCH] add fPIC compiler option --- ._Makefile | Bin 4096 -> 4096 bytes Makefile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/._Makefile b/._Makefile index f3106e70f28f9324d38aa3bca2fa83efc153583a..f4c2e6ad2ba8411c4fe9ceddc086c90a90d4e79c 100644 GIT binary patch delta 33 pcmZorXi%6C#l-A4F{XgS*u=`vz|g{E<3nb?i63}3KjD*M1OTdf3UvSg delta 33 pcmZorXi%6C#l+S#F{XgS$jr*f(9q0a<3nb?i63}3KjD*M1OTwP3bOzJ diff --git a/Makefile b/Makefile index b608e98..dad46e3 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ plugins: $(PLUGINS) %.$(EXT): $(PLUGINSDEP) for file in $(wildcard plugins/$(basename $@)/*.c) ; do\ - $(CC) $(CFLAGS) -c $$file -o $$file.o; \ + $(CC) -fPIC $(CFLAGS) -c $$file -o $$file.o; \ done $(CC) $(CFLAGS) $(PLUGINLIBS) -shared -o $(BUILDIRD)/plugins/$(basename $@).$(EXT) \ $(PLUGINSDEP) plugins/$(basename $@)/*.c.o