From 501a8724bd994ee4ded942aff8420287c41a0774 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Thu, 16 Mar 2023 08:06:14 -0500 Subject: [PATCH] [libc] Add missing environ dependency to AArch64 startup implementation Summary: Just like the last patch, this dependency was missing. This lead to linker failures when building the tests. --- libc/startup/linux/aarch64/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/startup/linux/aarch64/CMakeLists.txt b/libc/startup/linux/aarch64/CMakeLists.txt index 49f7f857c04a..14efe0e58f30 100644 --- a/libc/startup/linux/aarch64/CMakeLists.txt +++ b/libc/startup/linux/aarch64/CMakeLists.txt @@ -11,6 +11,7 @@ add_startup_object( libc.src.stdlib.exit libc.src.stdlib.atexit libc.src.string.memory_utils.memcpy_implementation + libc.src.unistd.environ COMPILE_OPTIONS -fno-omit-frame-pointer -ffreestanding # To avoid compiler warnings about calling the main function.