lol

libsodium: disable stackprotector on musl32

authored by

Walter Franzini and committed by
Symphorien Gibol
92225849 67c85842

+5
+5
pkgs/development/libraries/libsodium/default.nix
··· 12 12 separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl"; 13 13 14 14 enableParallelBuilding = true; 15 + hardeningDisable = stdenv.lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isi686) "stackprotector"; 16 + 17 + # FIXME: the hardeingDisable attr above does not seems effective, so 18 + # the need to disable stackprotector via configureFlags 19 + configureFlags = stdenv.lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isi686) "--disable-ssp"; 15 20 16 21 doCheck = true; 17 22