diff --git a/pkgs/development/interpreters/clisp/2.44.1.nix b/pkgs/development/interpreters/clisp/2.44.1.nix index 66f53831374f..682978a5ac8d 100644 --- a/pkgs/development/interpreters/clisp/2.44.1.nix +++ b/pkgs/development/interpreters/clisp/2.44.1.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { cd builddir ''; - NIX_CFLAGS_COMPILE="-O0"; + NIX_CFLAGS_COMPILE = "-O0 ${stdenv.lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; # TODO : make mod-check fails doCheck = false; diff --git a/pkgs/development/interpreters/clisp/default.nix b/pkgs/development/interpreters/clisp/default.nix index b8af3f6d7479..919c3771bc5d 100644 --- a/pkgs/development/interpreters/clisp/default.nix +++ b/pkgs/development/interpreters/clisp/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { clx/new-clx bindings/glibc pcre rawsock wildcard zlib ''; - NIX_CFLAGS_COMPILE="-O0"; + NIX_CFLAGS_COMPILE = "-O0 ${stdenv.lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; # TODO : make mod-check fails doCheck = false;