title: OpenSSL with FIPS cross compiling for iOS armv7
body: <p>I cross compiled the FIPS for armv7 using the instructions from
  <a href="http://opensslfoundation.com/testing/validation-2.0/platforms/ios/" rel="noreferrer">http://opensslfoundation.com/testing/validation-2.0/platforms/ios/</a></p>
  
  <p>I am having difficulties cross compiling openssl dependency on fips.</p>
  
  <p>I am getting following error in terminal.</p>
  
  <pre><code>/usr/local/ssl/fips-2.0/bin/fipsld: line 185: ./openssl: Bad CPU type in executable
  make[2]: *** [link_app.] Error 1
  make[1]: *** [openssl] Error 2
  make: *** [build_apps] Error 1
  </code></pre>
  
  <p>This is because the openssl executable under the "/apps" folder is of architecture armv7.
  Since I am cross compiling openssl, I need only the libssl and libcrypto with architecture armv7, other intermediate executables should build with i386 architecture.</p>
  
  <p>Any help with setting up the environment variables is appreciated.</p>