Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
530 B

diff -Naur llvmlite-0.15.0.orig/ffi/build.py llvmlite-0.15.0/ffi/build.py
--- llvmlite-0.15.0.orig/ffi/build.py 2016-08-15 17:32:45.000000000 +0100
+++ llvmlite-0.15.0/ffi/build.py 2018-05-02 20:54:01.631650226 +0100
@@ -124,6 +124,7 @@
os.environ['LLVM_LIBS'] = ' '.join(libs.split())
cxxflags = run_llvm_config(llvm_config, ["--cxxflags"])
+ cxxflags = cxxflags.replace('-Wcovered-switch-default', '')
cxxflags = cxxflags.split() + ['-fno-rtti', '-g']
os.environ['LLVM_CXXFLAGS'] = ' '.join(cxxflags)