From a823dc2cfc7a76676d20d2a27228dc8c75ea813b Mon Sep 17 00:00:00 2001 From: Idris Kalp Date: Sat, 5 Jun 2021 00:49:24 +0300 Subject: [PATCH] llvm build with gcc --- programming/build/llvm/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index 9216fc5aed..3efbc8e98c 100644 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -30,7 +30,7 @@ def setup(): #shelltools.export("CXX", "clang++") - #if get.buildTYPE() == "emul32": + if get.buildTYPE() == "emul32": shelltools.export("CC", "gcc -m32") shelltools.export("CXX", "g++ -m32") #shelltools.export("CC", "clang -m32") @@ -41,7 +41,7 @@ def setup(): #shelltools.cd("tools") #shelltools.system("patch -p1 < enable-SSP-and-PIE-by-default.patch") #shelltools.cd("..") - #else: + else: shelltools.export("CC", "gcc") shelltools.export("CXX", "g++") #shelltools.export("CC", "clang")