The last compiler flag change was for Xcode 5.0, not Xcode 3.2. As such
the HOST_TOOLS should be set to XCODE5.
Also, fix a small typo.
This fixes bug 447:
https://bugzilla.tianocore.org/show_bug.cgi?id=447
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
CLANG_VER=$(clang -ccc-host-triple x86_64-pc-win32-macho 2>&1 >/dev/null) || true
if [[ "$CLANG_VER" == *-ccc-host-triple* ]]
then
- # only older versions of Xcode support -ccc-host-tripe, for newer versions
+ # only older versions of Xcode support -ccc-host-triple, for newer versions
# it is -target
- HOST_TOOLS=XCODE32
+ HOST_TOOLS=XCODE5
TARGET_TOOLS=XCODE5
else
HOST_TOOLS=XCODE32