From acb9f8951eaeacaed1f0dfeaed67cb8bda7cd5b1 Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Mon, 13 Jan 2014 17:42:33 +0000 Subject: [PATCH] doc: adding ARCHS flag to OS X build command Adding further instructions about building for OS X, as recent versions of xcodebuild will automatically build for i386 (can someone say, "monoculture") even on x86_64 machines! Specifically including instructions about including the "ARCHS" flag to specify the right architecture. This is trivial, but will save people time. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 526b2c54..5704c39e 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,14 @@ Run: Run: $ ./gyp_uv.py -f xcode - $ xcodebuild -project uv.xcodeproj -configuration Release -target All + $ xcodebuild -ARCHS="x86_64" -project uv.xcodeproj \ + -configuration Release -target All + +Note to OS X users: + +Make sure that you specify the architecture you wish to build for in the +"ARCHS" flag. You can specify more than one by delimiting with a space +(e.g. "x86_64 i386"). ### Android