From f2bf53d15bdb8a43aca1d1d0d1abd8c8260ed2f6 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers@google.com>
Date: Thu, 12 Dec 2024 14:24:17 -0800
Subject: [PATCH] libc: USE LLVM_ENABLE_RUNTIMES

Fixes: #342
---
 zorg/buildbot/builders/annotated/libc-linux.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zorg/buildbot/builders/annotated/libc-linux.py b/zorg/buildbot/builders/annotated/libc-linux.py
index e46f1b39..80d33b5c 100644
--- a/zorg/buildbot/builders/annotated/libc-linux.py
+++ b/zorg/buildbot/builders/annotated/libc-linux.py
@@ -86,7 +86,7 @@ def main(argv):
         runtimes = ['libc']
         if fullbuild and not args.asan and not lint_build and not riscv_build:
             runtimes.append('compiler-rt')
-        cmake_args.append('-DLLVM_ENABLE_PROJECTS={}'.format(';'.join(runtimes)))
+        cmake_args.append('-DLLVM_ENABLE_RUNTIMES={}'.format(';'.join(runtimes)))
 
         if fullbuild and not args.asan and not lint_build and not riscv_build:
             cmake_args.append('-DLLVM_LIBC_INCLUDE_SCUDO=ON')