Browse Source

adding -fPIC for Leenoox

sync
Volker Birk 3 years ago
parent
commit
602d0915cb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile.conf

+ 3
- 3
Makefile.conf View File

@ -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


Loading…
Cancel
Save