title: Yocto: unrecognized command line option '-mfpu=neon' in using arm cross compiler on intel machine
body: <p>I am using arm cross compiler on Intel machine and facing below issue. Using yocto build system.</p>
  
  <pre><code>    | In file included from gpufiles.h:12:0,
      |                  from gpufiles.cpp:7:
      poky/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/4.9.3/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
  
  |  #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
  </code></pre>
  
  <p>I have added below flags in makefile.am:</p>
  
  <pre><code>AM_CPPFLAGS += -mfloat-abi=softfp -mfpu=neon
  </code></pre>
  
  <p>But I am seeing another issue here:</p>
  
  <pre><code>unrecognized command line option '-mfpu=neon'
  </code></pre>
  
  <p>Please help me to resolve this. Your help is much appreciated!!</p>