File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 41
41
GMP = pkgsDist . gmp . override { withStatic = true ; } ;
42
42
LIBUV = pkgsDist . libuv . overrideAttrs ( attrs : {
43
43
configureFlags = [ "--enable-static" ] ;
44
- hardeningDisable = [ "all " ] ;
44
+ hardeningDisable = [ "stackprotector " ] ;
45
45
version = "1.48.0" ;
46
46
src = pkgs . fetchFromGitHub {
47
47
owner = "libuv" ;
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ endif()
245
245
246
246
# LibUV
247
247
if ("${CMAKE_SYSTEM_NAME} " MATCHES "Emscripten" )
248
- set (LIBUV_EMSCRIPTEN_FLAGS "${EMSCRIPTEN_SETTINGS} -s EXPORT_ALL=1 " )
248
+ set (LIBUV_EMSCRIPTEN_FLAGS "${EMSCRIPTEN_SETTINGS} -ffunction-sections " )
249
249
# Only on WebAssembly we compile LibUV ourselves
250
250
ExternalProject_add (libuv
251
251
PREFIX libuv
You can’t perform that action at this time.
0 commit comments