Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8257758: Allow building of JavaFX native libs for Apple Silicon #363

wants to merge 2 commits into from
Changes from 1 commit
File filter
Filter file types
Jump to
Jump to file
Failed to load files.


Just for now

@@ -29,8 +29,8 @@ MAC.canBuild = IS_MAC && IS_64
if (!MAC.canBuild) return;

def TARGET_ARCH = "x86_64"
if (hasProperty('targetArch')) {
TARGET_ARCH = ext.targetArch
if (hasProperty('TARGET_ARCH')) {

// All desktop related packages should be built
@@ -126,8 +126,8 @@ def commonParams = [
"-arch", "$TARGET_ARCH"]

if (hasProperty('targetArch')) {
commonParams = ["-target", "$TARGET_ARCH-apple-macos-11", commonParams]
if (hasProperty('TARGET_ARCH')) {
commonParams = ["-target", "${TARGET_ARCH}-apple-macos-11", commonParams]

def ccBaseFlags = [
ProTip! Use n and p to navigate between commits in a pull request.