Skip to content

Commit 70ba2f9

Browse files
try to isolate warning
1 parent 168dc9d commit 70ba2f9

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")
37+
add_compile_options("-Werror=global-constructors")
3838

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

0 commit comments

Comments
 (0)