mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-11 13:15:32 -04:00
Remove host, use new argument (--openjdk-target)
This commit is contained in:
parent
773d5122f2
commit
e4b3845a3e
11
buildjdk.sh
11
buildjdk.sh
@ -15,11 +15,11 @@ sudo apt -y install gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-
|
|||||||
|
|
||||||
cd openjdk
|
cd openjdk
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
# --host=aarch64-linux-android \
|
||||||
bash ./configure \
|
bash ./configure \
|
||||||
--enable-option-checking=fatal \
|
--enable-option-checking=fatal \
|
||||||
--build=x86_64-linux-gnu \
|
--build=x86_64-linux-gnu \
|
||||||
--host=aarch64-linux-android \
|
--openjdk-target=aarch64-linux-android \
|
||||||
--target=aarch64-linux-android \
|
|
||||||
--disable-warnings-as-errors \
|
--disable-warnings-as-errors \
|
||||||
--enable-headless-only \
|
--enable-headless-only \
|
||||||
--with-jdk-variant=normal \
|
--with-jdk-variant=normal \
|
||||||
@ -35,13 +35,6 @@ bash ./configure \
|
|||||||
if [ "$error_code" -ne 0 ]; then
|
if [ "$error_code" -ne 0 ]; then
|
||||||
echo "\n\nCONFIGURE ERROR $error_code , config.log:"
|
echo "\n\nCONFIGURE ERROR $error_code , config.log:"
|
||||||
cat config.log
|
cat config.log
|
||||||
|
|
||||||
# remove later
|
|
||||||
sudo apt -y install silversearcher-ag
|
|
||||||
echo "--- BEGIN SEARCH ---"
|
|
||||||
ag "\-march=i686"
|
|
||||||
echo "--- ENDED SEARCH ---"
|
|
||||||
|
|
||||||
exit $error_code
|
exit $error_code
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user