gcc7: more options for musl

wip/yesman
Will Dietz 6 years ago
parent f5aed4dd5e
commit 3ec0d14140
  1. 7
      pkgs/development/compilers/gcc/7/default.nix

@ -292,7 +292,12 @@ stdenv.mkDerivation ({
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optional (targetPlatform == hostPlatform && targetPlatform.libc == "musl") "--disable-libsanitizer"
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
++ optional (targetPlatform.isAarch64) "--enable-fix-cortex-a53-843419"
;

Loading…
Cancel
Save