Skip to content

Commit 5ce8ff1

Browse files
authored
Fix comments
1 parent e5a2c3d commit 5ce8ff1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tools/bootgen/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,7 @@ endif()
146146
target_compile_options(bootgen-lib PRIVATE ${bootgen_warning_ignores})
147147
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU" AND NOT MSVC)
148148
# The POSITION_INDEPENDENT_CODE property above doesn't reliably force PIC
149-
# here (this project never calls check_pie_supported(), which CMP0083
150-
# needs), so pass -fPIC explicitly, last, so it wins over any inherited
151-
# -fno-PIC. NOT MSVC excludes clang-cl, which also matches "Clang" but
152-
# can't parse this flag.
149+
# so pass -fPIC explicitly, last, so it wins over any inherited -fno-PIC.
153150
target_compile_options(bootgen-lib PRIVATE -fPIC)
154151
endif()
155152
target_include_directories(bootgen-lib PRIVATE ${BOOTGEN_SOURCE} ${OPENSSL_INCLUDE_DIR})

0 commit comments

Comments
 (0)