Merge pull request #112939 from symphorien/musl32cross

pkgsCross.musl32: fix a few basic package
This commit is contained in:
Guillaume Girol
2021-02-18 06:44:49 +00:00
committed by GitHub
12 changed files with 134 additions and 10 deletions
@@ -451,6 +451,8 @@ stdenv.mkDerivation {
hardening_unsupported_flags+=" stackprotector pic"
'' + optionalString (targetPlatform.libc == "newlib") ''
hardening_unsupported_flags+=" stackprotector fortify pie pic"
'' + optionalString (targetPlatform.libc == "musl" && targetPlatform.isx86_32) ''
hardening_unsupported_flags+=" stackprotector"
'' + optionalString targetPlatform.isNetBSD ''
hardening_unsupported_flags+=" stackprotector fortify"
'' + optionalString cc.langAda or false ''