···185 libc_dev = stdenv.cc.libc_dev;
186187 postPatch =
188- if (hostPlatform.isHurd
189- || (libcCross != null # e.g., building `gcc.crossDrv'
190- && libcCross ? crossConfig
191- && libcCross.crossConfig == "i586-pc-gnu")
192- || (crossGNU && libcCross != null))
193 then
194 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
195 # in glibc, so add the right `-I' flags to the default spec string.
···185 libc_dev = stdenv.cc.libc_dev;
186187 postPatch =
188+ if targetPlatform.isHurd
0000189 then
190 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
191 # in glibc, so add the right `-I' flags to the default spec string.
+1-5
pkgs/development/compilers/gcc/4.9/default.nix
···194 libc_dev = stdenv.cc.libc_dev;
195196 postPatch =
197- if (hostPlatform.isHurd
198- || (libcCross != null # e.g., building `gcc.crossDrv'
199- && libcCross ? crossConfig
200- && libcCross.crossConfig == "i586-pc-gnu")
201- || (crossGNU && libcCross != null))
202 then
203 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
204 # in glibc, so add the right `-I' flags to the default spec string.
···194 libc_dev = stdenv.cc.libc_dev;
195196 postPatch =
197+ if targetPlatform.isHurd
0000198 then
199 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
200 # in glibc, so add the right `-I' flags to the default spec string.
+1-5
pkgs/development/compilers/gcc/5/default.nix
···196 '';
197198 postPatch =
199- if (hostPlatform.isHurd
200- || (libcCross != null # e.g., building `gcc.crossDrv'
201- && libcCross ? crossConfig
202- && libcCross.crossConfig == "i586-pc-gnu")
203- || (crossGNU && libcCross != null))
204 then
205 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
206 # in glibc, so add the right `-I' flags to the default spec string.
···196 '';
197198 postPatch =
199+ if targetPlatform.isHurd
0000200 then
201 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
202 # in glibc, so add the right `-I' flags to the default spec string.
+1-5
pkgs/development/compilers/gcc/6/default.nix
···196 '';
197198 postPatch =
199- if (hostPlatform.isHurd
200- || (libcCross != null # e.g., building `gcc.crossDrv'
201- && libcCross ? crossConfig
202- && libcCross.crossConfig == "i586-pc-gnu")
203- || (crossGNU && libcCross != null))
204 then
205 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
206 # in glibc, so add the right `-I' flags to the default spec string.
···196 '';
197198 postPatch =
199+ if targetPlatform.isHurd
0000200 then
201 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
202 # in glibc, so add the right `-I' flags to the default spec string.
+1-5
pkgs/development/compilers/gcc/7/default.nix
···168 patchShebangs $configureScript
169 done
170 '' + (
171- if (hostPlatform.isHurd
172- || (libcCross != null # e.g., building `gcc.crossDrv'
173- && libcCross ? crossConfig
174- && libcCross.crossConfig == "i586-pc-gnu")
175- || (crossGNU && libcCross != null))
176 then
177 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
178 # in glibc, so add the right `-I' flags to the default spec string.
···168 patchShebangs $configureScript
169 done
170 '' + (
171+ if targetPlatform.isHurd
0000172 then
173 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
174 # in glibc, so add the right `-I' flags to the default spec string.
+1-5
pkgs/development/compilers/gcc/8/default.nix
···163 patchShebangs $configureScript
164 done
165 '' + (
166- if (hostPlatform.isHurd
167- || (libcCross != null # e.g., building `gcc.crossDrv'
168- && libcCross ? crossConfig
169- && libcCross.crossConfig == "i586-pc-gnu")
170- || (crossGNU && libcCross != null))
171 then
172 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
173 # in glibc, so add the right `-I' flags to the default spec string.
···163 patchShebangs $configureScript
164 done
165 '' + (
166+ if targetPlatform.isHurd
0000167 then
168 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
169 # in glibc, so add the right `-I' flags to the default spec string.
···138 hardeningDisable = [ "format" ];
139140 postPatch =
141- if (hostPlatform.isHurd
142- || (libcCross != null # e.g., building `gcc.crossDrv'
143- && libcCross ? crossConfig
144- && libcCross.crossConfig == "i586-pc-gnu")
145- || (crossGNU && libcCross != null))
146 then
147 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
148 # in glibc, so add the right `-I' flags to the default spec string.
···138 hardeningDisable = [ "format" ];
139140 postPatch =
141+ if targetPlatform.isHurd
0000142 then
143 # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
144 # in glibc, so add the right `-I' flags to the default spec string.