aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/building.rst
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-09-01 08:31:57 +0200
committerSimon Warta <[email protected]>2015-09-01 08:31:57 +0200
commit2924b3cd05842e95cb0e6af9070aec7a1a2461b9 (patch)
treea4fcc50a7af7151285aa04ff9abe93a5865bf703 /doc/manual/building.rst
parent6ec30c701a38f1abc39b60d23e0442d61e80c196 (diff)
parentf3be7b17eec508f8a33fd0ef18a1bb6d688fa6e4 (diff)
Merge pull request #267 from cordney/update-ios-build-instructions
Build with libc++ C++ standard library on clang for iOS
Diffstat (limited to 'doc/manual/building.rst')
-rw-r--r--doc/manual/building.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/building.rst b/doc/manual/building.rst
index 2333a9069..0238f5f2f 100644
--- a/doc/manual/building.rst
+++ b/doc/manual/building.rst
@@ -185,7 +185,7 @@ For iOS using XCode
To cross compile for iOS, configure with::
- $ ./configure.py --cpu=armv7 --cc=clang --cc-abi-flags="-arch armv7 -arch armv7s --sysroot=$(IOS_SYSROOT)"
+ $ ./configure.py --cpu=armv7 --cc=clang --cc-abi-flags="-arch armv7 -arch armv7s -stdlib=libc++ --sysroot=$(IOS_SYSROOT)"
Along with any additional configuration arguments. Using ``--no-autoload``
might be helpful as can substantially reduce code size.