Skip to content

Commit f1cf168

Browse files
authored
[lldb/cmake] Remove a no-op statement (#141063)
Like the comment says, this really is a no-op and has no effect on the generated build commands.
1 parent 61d5fdf commit f1cf168

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lldb/cmake/modules/AddLLDB.cmake

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,6 @@ function(add_lldb_library name)
9393
set(libkind STATIC)
9494
endif()
9595

96-
#PIC not needed on Win
97-
# FIXME: Setting CMAKE_CXX_FLAGS here is a no-op, use target_compile_options
98-
# or omit this logic instead.
99-
if (NOT WIN32)
100-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
101-
endif()
102-
10396
if (PARAM_OBJECT)
10497
add_library(${name} ${libkind} ${srcs})
10598
else()

0 commit comments

Comments
 (0)