Skip to content

Commit fda2b17

Browse files
committed
fix compiler flag
1 parent a6bfcbc commit fda2b17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernels/portable/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif()
2323

2424
set(_common_compile_options
2525
$<$<CXX_COMPILER_ID:MSVC>:/wd4996>
26-
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated-declarations -fPIC>
26+
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated-declarations>
2727
)
2828

2929
include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)

0 commit comments

Comments
 (0)