File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -301,14 +301,12 @@ elseif(APPLE)
301301else ()
302302 target_compile_options (${MODULE_NAME} PRIVATE
303303 -flto -fdata-sections -ffunction-sections
304- -Wno-stringop-overflow
305304 )
306305 target_include_directories (${MODULE_NAME} PRIVATE
307306 ${GTK3_INCLUDE_DIRS}
308307 )
309308 target_link_options (${MODULE_NAME} PRIVATE
310309 -flto -Wl,--gc-sections
311- -Wno-stringop-overflow
312310 )
313311 target_link_libraries (${MODULE_NAME} PRIVATE
314312 X11 ${GTK3_LIBRARIES}
Original file line number Diff line number Diff line change @@ -31,8 +31,5 @@ endif()
3131
3232# Common browser-process flags (Windows def block, -DNDEBUG -O3, API header
3333# define, etc.) come from cefpython_common_flags defined in the top-level
34- # CMakeLists. Only the Linux-specific extra is listed here.
34+ # CMakeLists.
3535target_link_libraries (client_handler PRIVATE cefpython_common_flags )
36- if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
37- target_compile_options (client_handler PRIVATE -Wno-stringop-overflow )
38- endif ()
Original file line number Diff line number Diff line change @@ -13,8 +13,5 @@ target_include_directories(cpp_utils PRIVATE
1313)
1414
1515# Common browser-process flags come from cefpython_common_flags defined in the
16- # top-level CMakeLists. Only the Linux-specific extra is listed here.
16+ # top-level CMakeLists.
1717target_link_libraries (cpp_utils PRIVATE cefpython_common_flags )
18- if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
19- target_compile_options (cpp_utils PRIVATE -Wno-stringop-overflow )
20- endif ()
You can’t perform that action at this time.
0 commit comments