Update buildjdk.sh

This commit is contained in:
Tran Khanh Duy 2020-10-19 19:20:19 +07:00 committed by GitHub
parent c940ee03e5
commit 96277b0c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,16 +15,6 @@ sudo apt -y install gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-
cp -R /usr/include/fontconfig $ANDROID_INCLUDE/
# TODO remove :v
cat <<EOT >> patchstat.txt
#define S_IREAD S_IRUSR
#define S_IWRITE S_IWUSR
#define S_IEXEC S_IXUSR
EOT
cat patchstat.txt >> $NDK_HOME/platforms/android-21/arch-$TARGET_SHORT/usr/include/sys/stat.h
cd openjdk
rm -rf build
bash ./configure \