chapuni added a comment. It's a bug in configuration. But AFAIK it has not been filed. Also configure doesn't check if --enable-targets didn't cover --target. I suppose as if this issue were our common sense. Should we file bugs? http://reviews.llvm.org/D12506