summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/6
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-15 11:35:47 -0600
committerWill Dietz <w@wdtz.org>2018-02-13 09:44:38 -0600
commitece06deee410fd2f2adf613540c75278249b5e0f (patch)
treea54427ac938b167f871c2a6ee4d80f6abe4b1057 /pkgs/development/compilers/gcc/6
parent15d401dcfa24ca91f26f1bfb69c4a5eaf0f46aeb (diff)
downloadnixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar.gz
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar.bz2
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar.lz
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar.xz
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.tar.zst
nixlib-ece06deee410fd2f2adf613540c75278249b5e0f.zip
gcc6: try to fix gccCrossStageStati
Diffstat (limited to 'pkgs/development/compilers/gcc/6')
-rw-r--r--pkgs/development/compilers/gcc/6/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix
index 91088a612333..78062ea4bb14 100644
--- a/pkgs/development/compilers/gcc/6/default.nix
+++ b/pkgs/development/compilers/gcc/6/default.nix
@@ -142,6 +142,9 @@ let version = "6.4.0";
         "--disable-shared"
         "--disable-libatomic"  # libatomic requires libc
         "--disable-decimal-float" # libdecnumber requires libc
+        # maybe only needed on musl, PATH_MAX
+        # https://github.com/richfelker/musl-cross-make/blob/0867cdf300618d1e3e87a0a939fa4427207ad9d7/litecross/Makefile#L62
+        "--disable-libmpx"
       ] else [
         (if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
          else                "--with-headers=${getDev libcCross}/include")