From b36e02052ba1f14853681074d672c193d358fd7c Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 27 Jul 2016 17:02:28 +0200 Subject: [PATCH] CONFIG: enable shared libraries when building clang --- makeLLVM | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makeLLVM b/makeLLVM index 67a9c40..33c0e0b 100755 --- a/makeLLVM +++ b/makeLLVM @@ -4,7 +4,7 @@ # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation -# \\/ M anipulation | +# \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM. @@ -90,7 +90,6 @@ USAGE #----------------------------------------------------------------------------- - # parse options while [ "$#" -gt 0 ] do @@ -150,6 +149,7 @@ else --prefix=$LLVM_ARCH_PATH \ --with-gcc-toolchain=$(which gcc | sed s%/bin/gcc%%) \ --enable-optimized \ + --enable-shared \ && make -j $WM_NCOMPPROCS \ && make install \ && echo "Built: $llvmPACKAGE"