Merge remote-tracking branch 'upstream/gcc8' into staging-next

This commit is contained in:
Frederik Rietdijk
2019-09-06 23:25:18 +02:00
9 changed files with 48 additions and 9 deletions

View File

@@ -10,12 +10,21 @@ stdenv.mkDerivation rec {
sha256 = "08qhrl4g6qqr4ga46jhh78y56a47p3msa5b2x1qhzbxhf71lfmzb";
};
patches = [ ./debug-info-from-env.patch ];
postPatch = ''
patchShebangs tests
'';
patches = [
./debug-info-from-env.patch
/* For gcc8. Fixes -Werror=packed-not-aligned errors.
incorporated in upstream, so can probably be removed at next update */
(fetchurl {
url = http://git.openembedded.org/openembedded-core/plain/meta/recipes-devtools/elfutils/files/0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch?id=49aae1d75ff1c6a9643c30a8cc5776a2ffa83dd3;
sha256 = "11sg2dn3vjvgq2fb9n8pgw1ajvs3gliks7djg1794wxlfg0rvifb";
})
];
hardeningDisable = [ "format" ];
# We need bzip2 in NativeInputs because otherwise we can't unpack the src,