···7171 # The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
7272 # target libraries and tools.
7373 ++ optional langAda ../gnat-cflags.patch
7474- ++ optional langFortran ../gfortran-driving.patch;
7575-7474+ ++ optional langFortran ../gfortran-driving.patch
7575+ # The NXConstStr.patch can be removed at 4.9.4
7676+ ++ optional stdenv.isDarwin ../gfortran-darwin-NXConstStr.patch;
7777+7678 javaEcj = fetchurl {
7779 # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
7880 # `configure' time.
+1-1
pkgs/development/compilers/gcc/builder.sh
···2424 # Figure out what extra flags to pass to the gcc compilers
2525 # being generated to make sure that they use our glibc.
2626 extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)"
2727- extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before)"
2727+ extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before || true)"
28282929 # Use *real* header files, otherwise a limits.h is generated
3030 # that does not include Glibc's limits.h (notably missing