From 04865ef30fc95b92cd4dae3afe681105d6b3943e Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Sun, 11 Jan 2009 10:42:03 +0100 Subject: libraries should always be compiled with "-fPIC", otherwise they won't build on amd64 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 72f6505..3c9d767 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p ### The C++ compiler and options: CXX = g++ -CXXFLAGS = -O2 -Wall -Woverloaded-virtual +CXXFLAGS = -O2 -fPIC -Wall -Woverloaded-virtual ### The directory environment: -- cgit v1.2.3