[libc-commits] [libc] 8a712bf - [libc] Fix common compile options not getting passed to GPU object
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Fri Mar 10 14:54:33 PST 2023
Author: Joseph Huber
Date: 2023-03-10T16:54:20-06:00
New Revision: 8a712bf7c4b58c073e8ef19515aea21ddaeab9e1
URL: https://github.com/llvm/llvm-project/commit/8a712bf7c4b58c073e8ef19515aea21ddaeab9e1
DIFF: https://github.com/llvm/llvm-project/commit/8a712bf7c4b58c073e8ef19515aea21ddaeab9e1.diff
LOG: [libc] Fix common compile options not getting passed to GPU object
Summary:
This variable was named incorrectly. We weren't getting needed flags
passed to object library builds.
Added:
Modified:
libc/cmake/modules/LLVMLibCObjectRules.cmake
Removed:
################################################################################
diff --git a/libc/cmake/modules/LLVMLibCObjectRules.cmake b/libc/cmake/modules/LLVMLibCObjectRules.cmake
index 9a522e35f6cec..3cfa1995a9e04 100644
--- a/libc/cmake/modules/LLVMLibCObjectRules.cmake
+++ b/libc/cmake/modules/LLVMLibCObjectRules.cmake
@@ -257,8 +257,7 @@ function(create_object_library fq_target_name)
SRCS ${ADD_OBJECT_SRCS}
HDRS ${ADD_OBJECT_HDRS}
DEPENDS ${fq_deps_list}
- COMPILE_OPTIONS ${common_compile_options}
- FLAGS "${ADD_ENTRYPOINT_OBJ_FLAGS}"
+ COMPILE_OPTIONS ${compile_options}
)
else()
add_library(
More information about the libc-commits
mailing list