Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
index 75e33223d..c457ba75a 100644
--- a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
+++ b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
@@ -74,7 +74,8 @@ else
JAVA_HEADERS="-I$(/usr/libexec/java_home)/include -I$(/usr/libexec/java_home)/include/darwin"
fi
-ARCHS="-arch x86_64"
+ARCHS="-arch $defaultOSArch"
+
export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS ARCHS PROGRAM_OUTPUT_DIR JAVA_HEADERS
export MACOSX_DEPLOYMENT_TARGET=$DEPLOYMENT_TARGET

Back to the top