Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:PowerPC
nodejs-electron
node-compiler.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File node-compiler.patch of Package nodejs-electron
Disable various compiler configs (currently warning suppression). Like chromium-102-compiler.patch but for node --- src/third_party/electron_node/BUILD.gn.old +++ src/third_party/electron_node/BUILD.gn @@ -124,7 +124,6 @@ config("node_lib_config") { # FIXME(deepak1556): include paths should be corrected, # refer https://docs.google.com/presentation/d/1oxNHaVjA9Gn_rTzX6HIpJHP7nXRua_0URXxxJ3oYRq0/edit#slide=id.g71ecd450e_2_702 - cflags = [ "-Wno-microsoft-include" ] configs = [ ":node_features" ] @@ -250,18 +249,6 @@ component("node_lib") { deps += [ "deps/histogram" ] } frameworks = [] - cflags_cc = [ - "-Wno-deprecated-declarations", - "-Wno-implicit-fallthrough", - "-Wno-return-type", - "-Wno-sometimes-uninitialized", - "-Wno-string-plus-int", - "-Wno-unused-function", - "-Wno-unused-label", - "-Wno-unused-private-field", - "-Wno-unused-variable", - "-Wno-shadow", - ] if (v8_enable_i18n_support) { deps += [ "//third_party/icu" ] @@ -353,6 +340,5 @@ component("node_lib") { "src/node_crypto.cc", "src/node_crypto.h", ] - cflags_cc += [ "-Wno-sign-compare" ] } } --- src/third_party/electron_node/deps/base64/BUILD.gn.orig 2024-03-27 16:38:36.306226966 +0100 +++ src/third_party/electron_node/deps/base64/BUILD.gn 2024-03-27 20:24:12.219928228 +0100 @@ -21,11 +21,6 @@ static_library("base64") { public_configs = [ ":base64_config" ] - cflags_c = [ - "-Wno-implicit-fallthrough", - "-Wno-unused-but-set-variable", - "-Wno-shadow", - ] sources = [ "base64/include/libbase64.h", @@ -44,7 +39,6 @@ source_set("base64_ssse3") { defines = [ "HAVE_SSSE3=1" ] cflags = [ "-mssse3" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/ssse3/codec.c" ] @@ -57,7 +51,6 @@ source_set("base64_sse41") { defines = [ "HAVE_SSE41=1" ] cflags = [ "-msse4.1" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/sse41/codec.c" ] @@ -74,7 +67,6 @@ source_set("base64_sse42") { ] cflags = [ "-msse4.2" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/sse42/codec.c" ] @@ -87,7 +79,6 @@ source_set("base64_avx") { defines = [ "HAVE_AVX=1" ] cflags = [ "-mavx" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/avx/codec.c" ] @@ -100,10 +91,6 @@ source_set("base64_avx2") { defines = [ "HAVE_AVX2=1" ] cflags = [ "-mavx2" ] - cflags_c = [ - "-Wno-implicit-fallthrough", - "-Wno-implicit-function-declaration", - ] } sources = [ "base64/lib/arch/avx2/codec.c" ] @@ -116,7 +103,6 @@ source_set("base64_neon32") { defines = [ "HAVE_NEON32=1" ] cflags = [ "-mfpu=neon" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/neon32/codec.c" ] @@ -128,7 +114,6 @@ source_set("base64_neon64") { if (target_cpu == "arm64") { defines = [ "HAVE_NEON64=1" ] - cflags_c = [ "-Wno-implicit-fallthrough" ] } sources = [ "base64/lib/arch/neon64/codec.c" ] --- src/third_party/electron_node/deps/histogram/BUILD.gn.old +++ src/third_party/electron_node/deps/histogram/BUILD.gn @@ -1,12 +1,6 @@ config("histogram_config") { include_dirs = [ "include" ] - cflags = [ - "-Wno-implicit-function-declaration", - "-Wno-incompatible-pointer-types", - "-Wno-unused-function", - "-Wno-atomic-alignment", - ] } static_library("histogram") { --- src/third_party/electron_node/deps/llhttp/BUILD.gn.old +++ src/third_party/electron_node/deps/llhttp/BUILD.gn @@ -1,6 +1,5 @@ config("llhttp_config") { include_dirs = [ "include" ] - cflags = [ "-Wno-unreachable-code" ] } static_library("llhttp") { --- src/third_party/electron_node/deps/uv/BUILD.gn.old +++ src/third_party/electron_node/deps/uv/BUILD.gn @@ -32,24 +32,6 @@ static_library("uv") { # This only has an effect on Windows, where it will cause libuv's symbols to be exported in node.lib defines += [ "BUILDING_UV_SHARED=1" ] - cflags_c = [ - "-Wno-incompatible-pointer-types", - "-Wno-bitwise-op-parentheses", - "-Wno-implicit-fallthrough", - "-Wno-implicit-function-declaration", - "-Wno-missing-braces", - "-Wno-sign-compare", - "-Wno-sometimes-uninitialized", - "-Wno-string-conversion", - "-Wno-switch", - "-Wno-unused-function", - "-Wno-unused-result", - "-Wno-unused-variable", - "-Wno-unreachable-code", - "-Wno-unreachable-code-return", - "-Wno-unused-but-set-variable", - "-Wno-shadow", - ] libs = []
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor