scummvm: disable format hardening

This commit is contained in:
Robin Gloster 2016-08-03 20:32:34 +00:00
parent 552a8c4219
commit 7ab971a252

View File

@ -2,14 +2,16 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "scummvm-1.8.0"; name = "scummvm-1.8.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/scummvm/${name}.tar.bz2"; url = "mirror://sourceforge/scummvm/${name}.tar.bz2";
sha256 = "0f3zgvz886lk9ps0v333aq74vx6grlx68hg14gfaxcvj55g73v01"; sha256 = "0f3zgvz886lk9ps0v333aq74vx6grlx68hg14gfaxcvj55g73v01";
}; };
buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ]; buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ];
hardeningDisable = [ "format" ];
crossAttrs = { crossAttrs = {
preConfigure = '' preConfigure = ''
# Remove the --build flag set by the gcc cross wrapper setup # Remove the --build flag set by the gcc cross wrapper setup