[LLVMdev] how to add some default target flags?
Manuel Lauss
manuel.lauss at gmail.com
Sun May 31 08:26:07 PDT 2015
Hello,
I've built LLVM natively on a fpu-less (soft-float) mips32 target, and
built mesa to use it.
However llvm apparently cannot determine what machine it's running on and builds
code for a generic mips target with fpu.
Is there a way to have llc/llvm always use "-march=mipsle -mcpu=mips32
-mattr=+soft-float" as a default command line, something similar to
gcc's "--with-arch=mips32 --with-float=soft" configure switches?
Thanks!
Manuel Lauss
More information about the llvm-dev
mailing list