void-packages/srcpkgs/qt6-webengine/patches/0001-None-no-debug.patch

12 lines
536 B
Diff

--- qt6-webengine-6.4.2.orig/cmake/Functions.cmake
+++ qt6-webengine-6.4.2/cmake/Functions.cmake
@@ -820,6 +820,8 @@ macro(append_build_type_setup)
endif()
elseif(${config} STREQUAL "MinSizeRel")
list(APPEND gnArgArg is_debug=false symbol_level=0 optimize_for_size=true)
+ elseif(${config} STREQUAL "None")
+ list(APPEND gnArgArg is_debug=false symbol_level=0)
endif()
if(FEATURE_developer_build OR (${config} STREQUAL "Debug") OR QT_FEATURE_webengine_sanitizer)
list(APPEND gnArgArg