diff options
author | hattenberger | 2013-05-01 22:48:47 +0000 |
---|---|---|
committer | hattenberger | 2013-05-01 22:48:47 +0000 |
commit | 481e0c30b90019a55aec1f957fc96464c664302a (patch) | |
tree | bb52c9ec296f401a28a2f00cbcc8fb7da1422418 | |
parent | 8ba5798fdd5aa570675bc2551c733da4d513a095 (diff) | |
download | ivy-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-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) |