We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0039c18 commit 7f9ece2Copy full SHA for 7f9ece2
make/autoconf/flags.m4
@@ -265,6 +265,14 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
265
fi
266
267
268
+ if test "x$OPENJDK_TARGET_OS" = xmacosx; then
269
+ if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
270
+ MACHINE_FLAG="$MACHINE_FLAG -arch arm64"
271
+ elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
272
+ MACHINE_FLAG="$MACHINE_FLAG -arch x86_64"
273
+ fi
274
275
+
276
# FIXME: global flags are not used yet...
277
# The "global" flags will *always* be set. Without them, it is not possible to
278
# get a working compilation.
0 commit comments