libsodium: disable stackprotector on musl32
This commit is contained in:
parent
67c8584209
commit
92225849b0
@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
|
||||
separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
hardeningDisable = stdenv.lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isi686) "stackprotector";
|
||||
|
||||
# FIXME: the hardeingDisable attr above does not seems effective, so
|
||||
# the need to disable stackprotector via configureFlags
|
||||
configureFlags = stdenv.lib.optional (stdenv.targetPlatform.isMusl && stdenv.targetPlatform.isi686) "--disable-ssp";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user