diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py
index 773903f4b2..f71f12ac15 100644
--- a/programming/build/llvm/actions.py
+++ b/programming/build/llvm/actions.py
@@ -71,6 +71,7 @@ def setup():
pisitools.cxxflags.add("-m32")
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
options = " -DCMAKE_INSTALL_PREFIX=/emul32 \
+ -DCMAKE_INSTALL_LIBEXECDIR=/emul32/libexec \
-DLLVM_TARGET_ARCH:STRING=i686 \
-DLLVM_DEFAULT_TARGET_TRIPLE='i686-pc-linux-gnu'"
@@ -90,7 +91,7 @@ def setup():
-DLLVM_INCLUDEDIR=/usr/include \
-DLLVM_ENABLE_ASSERTIONS=OFF \
-DFFI_INCLUDE_DIR=/usr/include \
- -DCOMPILER_RT_USE_LIBCXX=OFF" % (options, projects, libsuffix), sourceDir=".." )
+ -DCOMPILER_RT_USE_LIBCXX=OFF" % (options, projects, libsuffix), sourceDir=".." )
def build():
shelltools.cd("build")
diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml
index 096d31bc12..23ef8d9fb2 100755
--- a/programming/build/llvm/pspec.xml
+++ b/programming/build/llvm/pspec.xml
@@ -189,6 +189,10 @@
/usr/share/opt-viewer
/usr/libexec/ccc-*
/usr/libexec/c++-*
+ /usr/libexec/intercept-c++
+ /usr/libexec/analyze-c++
+ /usr/libexec/intercept-cc
+ /usr/libexec/analyze-cc
/usr/share/man/man1/scan-build.1