Skip to content

Commit

Permalink
Fix: allow i486 and i586 for target machine ABI
Browse files Browse the repository at this point in the history
ysbaddaden authored and Ary Borenszweig committed Oct 9, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 42c4405 commit 007c791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llvm/target_machine.cr
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ class LLVM::TargetMachine
case triple
when /x86_64|amd64/
ABI::X86_64.new(self)
when /i386|i686/
when /i386|i486|i586|i686/
ABI::X86.new(self)
else
raise "Unsupported ABI for target triple: #{triple}"

0 comments on commit 007c791

Please sign in to comment.