diff --git a/easybuild/easyblocks/c/clang_aomp.py b/easybuild/easyblocks/c/clang_aomp.py index caca76e767..b1f66e2426 100644 --- a/easybuild/easyblocks/c/clang_aomp.py +++ b/easybuild/easyblocks/c/clang_aomp.py @@ -233,7 +233,7 @@ def _configure_llvm(self, component): "-DLLVM_ENABLE_PROJECTS='clang;lld;clang-tools-extra'", "-DLLVM_ENABLE_RUNTIMES='compiler-rt;libcxx;libcxxabi'", "-DCLANG_DEFAULT_LINKER=lld", - "-DGCC_INSTALL_PREFIX=$EBROOTGCCCORE", + "-DGCC_INSTALL_PREFIX=%s" % os.getenv('EBROOTGCCCORE'), "-DLLVM_ENABLE_ASSERTIONS=ON", "-DLLVM_ENABLE_BINDINGS=OFF", "-DLLVM_INCLUDE_BENCHMARKS=OFF",