From 602d0915cbe27126bdac90eaaad56aa5674a2ed1 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Wed, 3 Apr 2019 17:44:01 +0200 Subject: [PATCH] adding -fPIC for Leenoox --- Makefile.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.conf b/Makefile.conf index 50d2386..e9659d7 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -27,17 +27,17 @@ else ifeq ($(BUILD_FOR),Darwin) endif ifeq ($(BUILD_FOR),Linux) - CXXFLAGS=-fdiagnostics-color=always -O0 -g $(ENGINE_INC) + CXXFLAGS=-fdiagnostics-color=always -O0 -g $(ENGINE_INC) -fPIC else ifeq ($(BUILD_FOR),Darwin) CXXFLAGS=-fcolor-diagnostics -O0 -g $(ENGINE_INC) endif ######### Engine ######### -ENGINE_LIB=-L$(HOME)/code/engine/build/lib +ENGINE_LIB=-L$(HOME)/lib #ENGINE_LIB=-L$(HOME)/local/lib -ENGINE_INC=-I$(HOME)/code/engine/build/include +ENGINE_INC=-I$(HOME)/include #ENGINE_INC=-I$(HOME)/local/inc