3
0
Fork 0
forked from mirrors/nixpkgs

chromium: Force -fno-stack-protector for v25.

So, this is our sledgehammer, forcing -fno-stack-protector for every gcc/g++ in
the univ... Chromium build. Of course this is a somewhat nasty fix and there
should be a real fix somewhere in Chromium 26. But instead of wandering around
and picking cherries, we now go out for the slaughter until someone brings us
the damn cherries because we are FUURRRIII... no well... time for sleep :-)

May the mighty Hydra be with us!

Thanks to our great fellow @cillianderoiste, for joining the battle with his
almighty battle axe, crushing and burning some CPUs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Tested-by: Cillian de Róiste <cillian.deroiste@gmail.com>
This commit is contained in:
aszlig 2013-02-21 13:59:58 +01:00
parent 857135c59a
commit b7cbb4da11
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -223,4 +223,6 @@ in stdenv.mkDerivation rec {
license = licenses.bsd3;
platforms = platforms.linux;
};
} // optionalAttrs only25 {
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
}