Skip to content

Commit

Permalink
[libc] Fix common compile options not getting passed to GPU object
Browse files Browse the repository at this point in the history
Summary:
This variable was named incorrectly. We weren't getting needed flags
passed to object library builds.
  • Loading branch information
jhuber6 committed Mar 10, 2023
1 parent 0e0b607 commit 8a712bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libc/cmake/modules/LLVMLibCObjectRules.cmake
Expand Up @@ -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(
Expand Down

0 comments on commit 8a712bf

Please sign in to comment.