x2on/OpenSSL-for-iPhone — pull request #37 by danoli3 (2014-09-23 08:49:18+00:00)
Title: Clang compiling, gnu11 support and simulator fixes (i386, x86_64)

So the following changes adds support for compiling with clang as the default (faster, more optimised, smaller, supports c11+c14) vs gcc

- Added variable at the top to make this (Configurable)
- Also stepped the default C standard to gnu11 (asm and other flags still work however get all the benefits of c11 standard) (Configurable)
- Fixes configure issues for i386 #36
- Fixes simulator minimum iOS target problems from incorrect min tag being used (which was bypassed by selecting the latest iOS target) See #35
- Added .gitignore for common Xcode file when running the project
- Set Optimisation level at -Os (clang supports)

- Tested on i386, x86_64 (simulators) and armv7, arm64 (devices)