[libc-commits] [libc] [libc][stdlib] Add unsetenv (PR #202422)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Jun 11 10:54:50 PDT 2026
================
@@ -77,23 +77,34 @@ if((${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") AND
"-fdisable-tree-waccess3")
endif()
+set(environ_internal_deps
+ libc.config.app_h
+ libc.hdr.types.size_t
+ libc.src.__support.alloc_checker
+ libc.src.__support.CPP.new
+ libc.src.__support.CPP.optional
+ libc.src.__support.CPP.string_view
+ libc.src.__support.macros.attributes
+ libc.src.__support.macros.config
+ libc.src.string.memory_utils.inline_memcpy
+)
+set(environ_internal_compile_options ${environ_internal_gcc12_workaround})
+
+if("environ" IN_LIST TARGET_ENTRYPOINT_NAME_LIST)
----------------
michaelrj-google wrote:
this should probably use the full entrypoint name.
https://github.com/llvm/llvm-project/pull/202422
More information about the libc-commits
mailing list