--- clients/node_modules/argon2/binding.gyp.orig 2024-07-15 19:27:24.157408387 +0200 +++ clients/node_modules/argon2/binding.gyp 2024-07-15 19:40:42.806528404 +0200 @@ -20,7 +20,7 @@ "Release": { "target_conditions": [ ["OS != 'win'", { - "cflags+": ["-fdata-sections", "-ffunction-sections", "-flto", "-fvisibility=hidden"], + "cflags+": ["-fvisibility=hidden"], "ldflags+": ["-Wl,--gc-sections"] }] ], @@ -29,26 +29,7 @@ } }, "targets": [ - { - "target_name": "libargon2", - "sources": [ - "argon2/src/argon2.c", - "argon2/src/blake2/blake2b.c", - "argon2/src/core.c", - "argon2/src/encoding.c", - "argon2/src/thread.c" - ], - "cflags+": ["-Wno-type-limits"], - "conditions": [ - ["target_arch == 'ia32' or target_arch == 'x64'", { - "cflags+": ["-msse", "-msse2"], - "sources+": ["argon2/src/opt.c"] - }, { - "sources+": ["argon2/src/ref.c"] - }] - ], - "type": "static_library" - }, { +{ "target_name": "argon2", "defines+": [ "NAPI_VERSION=<(napi_build_version)", @@ -58,10 +39,15 @@ "sources": [ "argon2_node.cpp" ], - "cflags_cc+": ["-Wall", "-Wextra", "-Wconversion", "-Wformat", "-Wnon-virtual-dtor", "-pedantic", "-Werror"], + "cflags_cc+": ["-Wall", "-Wextra", "-Wconversion", "-Wformat", "-Wnon-virtual-dtor", "-pedantic"], "cflags_cc!": ["-fno-exceptions"], "include_dirs": [" #include #include #include