hvdijk added a comment.

In D52050#2428693 <https://reviews.llvm.org/D52050#2428693>, @glaubitz wrote:

> Maybe `sys::getDefaultTargetTriple()` needs to be adjusted. I'll have a look.

`sys::getDefaultTargetTriple()` defaults to `LLVM_DEFAULT_TARGET_TRIPLE`, which 
in turn defaults to `LLVM_HOST_TRIPLE`, which in turn defaults to 
`LLVM_INFERRED_HOST_TRIPLE`, which calls `config.guess` which never 
automatically detects X32. Sorry, forgot to mention that on my system, I also 
make sure to explicitly specify `LLVM_HOST_TRIPLE` to an X32 triple when 
building LLVM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D52050/new/

https://reviews.llvm.org/D52050

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to