aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d547c1f..24b83b2 100644
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,8 @@ CFLAGS+=-Wall
OCAMLINC=-I `ocamlc -where`
GLIBINC=`pkg-config --cflags glib-2.0`
-LBITS := $(shell getconf LONG_BIT)
-ifeq ($(LBITS),64)
- FPIC=-fPIC
-endif
+# by default use fPIC on all systems
+FPIC ?= -fPIC
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),Darwin)