Use LLVM to cross compile program for Hikey


I want to cross compile my application using LLVM compiler for Linux running on a Hikey board. What are the correct flags that should be used when compiling the program?

For example (
To cross-compile for Raspberry Pi running soft-float Linux distros add flags -ccc-host-triple arm-eabi -marm -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp