Skip to content

Commit f20b84d

Browse files
Fix cmake failure
1 parent 94a783b commit f20b84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
3434
add_definitions("-D_DEBUG")
3535
endif()
3636

37-
# add_compile_options("-Werror=global-constructors")
37+
add_compile_options("-Werror=global-constructors")
3838

3939
# Default to C++17
4040
set(CMAKE_CXX_STANDARD 17)

0 commit comments

Comments
 (0)