lwan: fix build w/musl, disable PIE

This commit is contained in:
Will Dietz 2022-03-21 11:24:51 -05:00
parent 5ca306875c
commit e225f91883

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
# Note: tcmalloc and mimalloc are also supported (and normal malloc)
cmakeFlags = lib.optional enableJemalloc "-DUSE_ALTERNATIVE_MALLOC=jemalloc";
hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "pie";
meta = with lib; {
description = "Lightweight high-performance multi-threaded web server";
longDescription = "A lightweight and speedy web server with a low memory