Skip to content

Commit 007fde2

Browse files
committed
Is this progress?
1 parent 69fc461 commit 007fde2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
GMP = pkgsDist.gmp.override { withStatic = true; };
4242
LIBUV = pkgsDist.libuv.overrideAttrs (attrs: {
4343
configureFlags = ["--enable-static"];
44-
hardeningDisable = [ "all" ];
44+
hardeningDisable = [ "stackprotector" ];
4545
version = "1.48.0";
4646
src = pkgs.fetchFromGitHub {
4747
owner = "libuv";

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ endif()
245245

246246
# LibUV
247247
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")
249249
# Only on WebAssembly we compile LibUV ourselves
250250
ExternalProject_add(libuv
251251
PREFIX libuv

0 commit comments

Comments
 (0)