make sure easybuild flags and libs are used for llvmlite March 25th 2019 by PY Barriat (ELIC - UCL) --- llvmlite-0.28.0/ffi/Makefile.linux.orig 2019-03-25 16:43:28.855604493 +0100 +++ llvmlite-0.28.0/ffi/Makefile.linux 2019-03-25 16:45:52.698599613 +0100 @@ -2,7 +2,7 @@ CXX ?= g++ # -flto and --exclude-libs allow us to remove those parts of LLVM we don't use -CXX_FLTO_FLAGS ?= -flto +CXX_FLTO_FLAGS ?= -flto -fPIC LD_FLTO_FLAGS ?= -flto -Wl,--exclude-libs=ALL CXXFLAGS = $(LLVM_CXXFLAGS) $(CXX_FLTO_FLAGS)