On Fri, 2 Apr 2021 19:18:58 GMT, Anton Kozlov <akoz...@openjdk.org> wrote:

>> Please review adding necessary flags for cross-compilation on macos/x86 
>> targeting macos/aarch64.
>> 
>> All CFLAGS, CXXFLAGS, LDFLAGS need target CPU flag `-arch arm64`.
>> This patch adds the flag along e.g `-m64`.
>> 
>> Tested:
>> * cross-compilation 
>>   * macos/x86 -> macos/aarch64: configure 
>> --openjdk-target=aarch64-apple-darwin
>>   * macos/aarch64 -> macos/x86: configure 
>> --openjdk-target=x86_64-apple-darwin
>> * native compilation:
>>   * macos/aarch64
>>   * macos/x86
>
> Anton Kozlov has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Add both ways cross-compilation

Marked as reviewed by erikj (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3325

Reply via email to