gcc43/ghdl: turn off format hardening

This commit is contained in:
Robin Gloster 2016-02-22 08:47:25 +00:00
parent abac1eb918
commit 9b4c99edc6

View File

@ -82,7 +82,7 @@ stdenv.mkDerivation ({
++ optional langJava ./java-jvgenmain-link.patch
++ optional langVhdl ./ghdl-ortho-cflags.patch
++ optional langVhdl ./ghdl-runtime-o2.patch;
inherit noSysDirs profiledCompiler staticCompiler crossStageStatic
binutilsCross libcCross;
targetConfig = if cross != null then cross.config else null;
@ -95,6 +95,8 @@ stdenv.mkDerivation ({
++ (optionals langVhdl [gnat])
;
hardening_format = false;
configureFlags = "
${if enableMultilib then "" else "--disable-multilib"}
${if enableShared then "" else "--disable-shared"}
@ -124,7 +126,7 @@ stdenv.mkDerivation ({
NIX_EXTRA_LDFLAGS = if staticCompiler then "-static" else "";
inherit gmp mpfr;
passthru = { inherit langC langCC langFortran langVhdl langTreelang
enableMultilib; };