lwan: fix build w/musl, disable PIE
commite225f918838536afbdba7e599ec26e03540e881e
authorWill Dietz <w@wdtz.org>
dateMon 21 Mar 2022, 11:24 (5 years ago)
parent5ca3068
pkgs/servers/http/lwan/default.nix+2
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
1818 # Note: tcmalloc and mimalloc are also supported (and normal malloc)
1919 cmakeFlags = lib.optional enableJemalloc "-DUSE_ALTERNATIVE_MALLOC=jemalloc";
2020
21+ hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "pie";
22+
2123 meta = with lib; {
2224 description = "Lightweight high-performance multi-threaded web server";
2325 longDescription = "A lightweight and speedy web server with a low memory