Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e04d4dda authored by Koushik Dutta's avatar Koushik Dutta
Browse files

Fix the build for Xcode 5.

Change-Id: Icf8a4917d23114dae62a0e8ac3563587c3bf0361
parent 854bf43c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -87,11 +87,13 @@ HOST_CXX := $(HOST_TOOLCHAIN_PREFIX)-g++
ifeq ($(mac_sdk_version),10.9)
HOST_GLOBAL_CFLAGS += -I$(mac_sdk_root)/usr/include/c++/4.2.1 -arch i386 -Wno-nested-anon-types -Wno-unused-parameter
HOST_GLOBAL_LDFLAGS += -Wl,-arch,i386,-lstdc++
elif ($(mac_sdk_version),10.8)
else
ifeq ($(mac_sdk_version),10.8)
# Mac SDK 10.8 no longer has stdarg.h, etc
host_toolchain_header := $(HOST_TOOLCHAIN_ROOT)/lib/gcc/i686-apple-darwin$(gcc_darwin_version)/4.2.1/include
HOST_GLOBAL_CFLAGS += -isystem $(host_toolchain_header)
endif
endif
else
HOST_CC := gcc
HOST_CXX := g++