Skip to content

Commit 53613ab

Browse files
committed
Don't repeat default for CMAKE_CXX_FLAGS_DEBUG
Debug build type already has defaults, and the flags we set are likely to be those defaults on Unix-like platforms. Why break Windows compatibility? ghstack-source-id: cb5834ba1b2c6196ef79af8d658077ff0c59fee4 ghstack-comment-id: 2599288517 Pull Request resolved: #7743
1 parent a7b77d8 commit 53613ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ else()
164164
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
165165
endif()
166166

167-
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
168-
169167
option(EXECUTORCH_BUILD_ANDROID_JNI "Build Android JNI" OFF)
170168

171169
option(EXECUTORCH_BUILD_ARM_BAREMETAL

0 commit comments

Comments
 (0)