I noticed that you are using the first part of `llvm-config --host-target`
to determine the desired -march to run clang with. On amd64 machines
`llvm-config --host-target` will return "x86_64-pc-linux-gnu", but clang
will expect -march to be "x86-64".
This can be fixed by piping `llvm-config --host-target` through a sed
command: `sed -e s/_/-/`.
Original issue reported on code.google.com by postmode...@gmail.com on 2 Mar 2010 at 9:51
Original issue reported on code.google.com by
postmode...@gmail.com
on 2 Mar 2010 at 9:51