llvmlite-0.28.0_fix-ffi-Makefile.patch 520 B

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