projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2389f00
)
[libc] Add missing environ dependency to AArch64 startup implementation
author
Joseph Huber
<jhuber6@vols.utk.edu>
Thu, 16 Mar 2023 13:06:14 +0000
(08:06 -0500)
committer
Joseph Huber
<jhuber6@vols.utk.edu>
Thu, 16 Mar 2023 13:06:14 +0000
(08:06 -0500)
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
patch
|
blob
|
history
diff --git
a/libc/startup/linux/aarch64/CMakeLists.txt
b/libc/startup/linux/aarch64/CMakeLists.txt
index 49f7f857c04ae7756ca3e75550737421b751a6e7..14efe0e58f3024d558acc8f6275e01ed6f86daf4 100644
(file)
--- 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.