nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

gcc6: Unify some differences with gcc5

In particular, fixes build with the new shuffled outputs.

+6 -5
+6 -5
pkgs/development/compilers/gcc/6/default.nix
··· 165 165 " --disable-libatomic " + # libatomic requires libc 166 166 " --disable-decimal-float" # libdecnumber requires libc 167 167 else 168 - (if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot" 169 - else " --with-headers=${libcCross.dev}/include") + 168 + (if crossDarwin then " --with-sysroot=${getLib libcCross}/share/sysroot" 169 + else " --with-headers=${getDev libcCross}/include") + 170 170 # Ensure that -print-prog-name is able to find the correct programs. 171 171 (stdenv.lib.optionalString (crossMingw || crossDarwin) ( 172 172 " --with-as=${binutilsCross}/bin/${cross.config}-as" + ··· 247 247 ++ stdenv.lib.optional (libpthread != null) libpthread; 248 248 extraCPPSpec = 249 249 concatStrings (intersperse " " 250 - (map (x: "-I${x}/include") extraCPPDeps)); 250 + (map (x: "-I${x.dev or x}/include") extraCPPDeps)); 251 251 extraLibSpec = 252 252 if libpthreadCross != null 253 253 then "-L${libpthreadCross}/lib ${libpthreadCross.TARGET_LDFLAGS}" ··· 411 411 ${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr.crossDrv}" else ""} 412 412 --with-gmp=${gmp.crossDrv} 413 413 --with-mpfr=${mpfr.crossDrv} 414 + --with-mpc=${libmpc.crossDrv} 414 415 --disable-libstdcxx-pch 415 416 --without-included-gettext 416 417 --with-system-zlib ··· 457 456 # Likewise, the LTO code doesn't find zlib. 458 457 459 458 CPATH = concatStrings 460 - (intersperse ":" (map (x: x + "/include") 459 + (intersperse ":" (map (x: "${x.dev or x}/include") 461 460 (optionals (zlib != null) [ zlib ] 462 461 ++ optionals langJava [ boehmgc ] 463 462 ++ optionals javaAwtGtk xlibs ··· 480 479 481 480 EXTRA_TARGET_CFLAGS = 482 481 if cross != null && libcCross != null then [ 483 - "-idirafter ${libcCross.dev}/include" 482 + "-idirafter ${getDev libcCross}/include" 484 483 ] 485 484 ++ optionals (! crossStageStatic) [ 486 485 "-B${libcCross.out}/lib"