diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py
index a5c170ff98..3a7e031130 100644
--- a/programming/build/llvm/actions.py
+++ b/programming/build/llvm/actions.py
@@ -19,11 +19,11 @@ NoStrip = ["/usr/lib/clang/%s/lib/linux" % get.srcVERSION()]
WorkDir = "llvm-project-%s.src/llvm" % get.srcVERSION()
def setup():
- pisitools.ldflags.add("-fuse-ld=lld")
- pisitools.cflags.remove("-D_FORTIFY_SOURCE=2")
- pisitools.cxxflags.remove("-D_FORTIFY_SOURCE=2")
- shelltools.export("CC", "clang")
- shelltools.export("CXX", "clang++")
+ #pisitools.ldflags.add("-fuse-ld=lld")
+ #pisitools.cflags.remove("-D_FORTIFY_SOURCE=2")
+ #pisitools.cxxflags.remove("-D_FORTIFY_SOURCE=2")
+ #shelltools.export("CC", "clang")
+ #shelltools.export("CXX", "clang++")
#if get.buildTYPE() == "emul32":
@@ -56,10 +56,10 @@ def setup():
if get.buildTYPE() == "emul32":
- #shelltools.export("CC", "gcc -m32")
- #shelltools.export("CXX", "g++ -m32")
- pisitools.cflags.add("-m32 ")
- pisitools.cxxflags.add("-m32")
+ shelltools.export("CC", "gcc -m32")
+ shelltools.export("CXX", "g++ -m32")
+ #pisitools.cflags.add("-m32 ")
+ #pisitools.cxxflags.add("-m32")
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
options = " -DCMAKE_INSTALL_PREFIX=/emul32 \
-DLLVM_TARGET_ARCH:STRING=i686 \
diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml
index aaba99a5ae..0f0346e427 100755
--- a/programming/build/llvm/pspec.xml
+++ b/programming/build/llvm/pspec.xml
@@ -27,10 +27,10 @@
binutils
gcc
- llvm
+
llvm
@@ -309,7 +309,7 @@
ncurses-32bit
zlib-32bit
libffi-32bit
- libcxx-32bit
+
/usr/bin/llvm-config-32