Skip to content

Commit 8a712bf

Browse files
committed
[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.
1 parent 0e0b607 commit 8a712bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/cmake/modules/LLVMLibCObjectRules.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ function(create_object_library fq_target_name)
257257
SRCS ${ADD_OBJECT_SRCS}
258258
HDRS ${ADD_OBJECT_HDRS}
259259
DEPENDS ${fq_deps_list}
260-
COMPILE_OPTIONS ${common_compile_options}
261-
FLAGS "${ADD_ENTRYPOINT_OBJ_FLAGS}"
260+
COMPILE_OPTIONS ${compile_options}
262261
)
263262
else()
264263
add_library(

0 commit comments

Comments
 (0)