···71 # The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
72 # target libraries and tools.
73 ++ optional langAda ../gnat-cflags.patch
74- ++ optional langFortran ../gfortran-driving.patch;
75-0076 javaEcj = fetchurl {
77 # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
78 # `configure' time.
···71 # The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
72 # target libraries and tools.
73 ++ optional langAda ../gnat-cflags.patch
74+ ++ optional langFortran ../gfortran-driving.patch
75+ # The NXConstStr.patch can be removed at 4.9.4
76+ ++ optional stdenv.isDarwin ../gfortran-darwin-NXConstStr.patch;
77+78 javaEcj = fetchurl {
79 # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
80 # `configure' time.
+1-1
pkgs/development/compilers/gcc/builder.sh
···24 # Figure out what extra flags to pass to the gcc compilers
25 # being generated to make sure that they use our glibc.
26 extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)"
27- extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before)"
2829 # Use *real* header files, otherwise a limits.h is generated
30 # that does not include Glibc's limits.h (notably missing
···24 # Figure out what extra flags to pass to the gcc compilers
25 # being generated to make sure that they use our glibc.
26 extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)"
27+ extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before || true)"
2829 # Use *real* header files, otherwise a limits.h is generated
30 # that does not include Glibc's limits.h (notably missing