Skip to content

Commit

Permalink
llvm-{4,5}: arch is "x86" for either 32bit or 64bit x86
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Feb 11, 2018
1 parent 225b029 commit 325bc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/4/llvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let
let target = stdenv.targetPlatform;
in if target.isAarch64 then "AARCH64"
else if target.isArm then "ARM"
else if target.isx86_64 then "X86"
else if target.isx86 then "X86"
else throw "unknown platform";
cmakeBuildType = if debugVersion then "Debug" else "Release";

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/llvm/5/llvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let
let target = stdenv.targetPlatform;
in if target.isAarch64 then "AARCH64"
else if target.isArm then "ARM"
else if target.isx86_64 then "X86"
else if target.isx86 then "X86"
else throw "unknown platform";
cmakeBuildType = if debugVersion then "Debug" else "Release";

Expand Down

0 comments on commit 325bc53

Please sign in to comment.