Skip to content

Commit

Permalink
clisp: fix i686 build
Browse files Browse the repository at this point in the history
  • Loading branch information
joachifm committed Mar 23, 2016
1 parent d752865 commit 1972c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/clisp/2.44.1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/clisp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1972c5a

Please sign in to comment.