I'm trying to cross compile OpenPano for linux arm using cmake. I'm getting an error:
cc1plus: error: unrecognized argument in option '-march=native'
But then it says that this is a valid argument:
cc1plus: note: valid arguments to '-march=' are: armv2 armv2a [...] native
I'm confused. If it's a valid argument then why is it unrecognized?
gcc version:
arm-poky-linux-gnueabi-gcc (GCC) 5.3.0
arm-poky-linux-gnueabi-g++ (GCC) 5.3.0