aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhattenberger2013-05-01 22:48:47 +0000
committerhattenberger2013-05-01 22:48:47 +0000
commit481e0c30b90019a55aec1f957fc96464c664302a (patch)
treebb52c9ec296f401a28a2f00cbcc8fb7da1422418
parent8ba5798fdd5aa570675bc2551c733da4d513a095 (diff)
downloadivy-ocaml-481e0c30b90019a55aec1f957fc96464c664302a.zip
ivy-ocaml-481e0c30b90019a55aec1f957fc96464c664302a.tar.gz
ivy-ocaml-481e0c30b90019a55aec1f957fc96464c664302a.tar.bz2
ivy-ocaml-481e0c30b90019a55aec1f957fc96464c664302a.tar.xz
use fPIC for all arch
-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)