mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 07:35:59 -04:00
13 lines
265 B
Bash
Executable File
13 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# hack: remove iOS CFLAGS
|
|
if [ "$(uname -m)" == "x86_64" ]; then
|
|
args=${@/arm64/x86_64}
|
|
else
|
|
args=$@
|
|
fi
|
|
args=${args/"-isysroot $thesysroot"/}
|
|
args=${args/"-miphoneos-version-min=14.0"/}
|
|
$thecxx $args --stdlib=libc++ -isysroot $themacsysroot
|