aboutsummaryrefslogtreecommitdiff
path: root/build_detect_platform
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2013-12-18 16:25:34 +0000
committerTorne (Richard Coles) <torne@google.com>2013-12-18 16:25:34 +0000
commit3a8f0f48cfd237cfc1e90158cda502cb33a3c0db (patch)
tree58a2702517f0e82f5fbab37ea77d8260e3f4e915 /build_detect_platform
parent1ac849f4319484f3c388244140ebae2b3be76b97 (diff)
parent8873c15fe584b87292779f18dcc1a12eb1dcc3c1 (diff)
downloadsrc-3a8f0f48cfd237cfc1e90158cda502cb33a3c0db.tar.gz
This commit was generated by merge_to_master.py. Change-Id: I9d3dcdc85f84c90462bbb8f7f387afa6f82f0e0b
Diffstat (limited to 'build_detect_platform')
-rw-r--r--build_detect_platform10
1 files changed, 10 insertions, 0 deletions
diff --git a/build_detect_platform b/build_detect_platform
index d50869d..6e59c6f 100644
--- a/build_detect_platform
+++ b/build_detect_platform
@@ -131,6 +131,16 @@ case "$TARGET_OS" in
# man ld: +h internal_name
PLATFORM_SHARED_LDFLAGS="-shared -Wl,+h -Wl,"
;;
+ IOS)
+ PLATFORM=IOS
+ COMMON_FLAGS="$MEMCMP_FLAG -DOS_MACOSX"
+ [ -z "$INSTALL_PATH" ] && INSTALL_PATH=`pwd`
+ PORT_FILE=port/port_posix.cc
+ PLATFORM_SHARED_EXT=
+ PLATFORM_SHARED_LDFLAGS=
+ PLATFORM_SHARED_CFLAGS=
+ PLATFORM_SHARED_VERSIONED=
+ ;;
*)
echo "Unknown platform!" >&2
exit 1