This commit is contained in:
Tran Khanh Duy 2020-09-14 14:12:43 +07:00 committed by GitHub
parent 5f55896bac
commit 85bb28433e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,6 @@ sudo apt -y install gcc-multilib g++-multilib libxtst-dev libasound2-dev libelf-
cd openjdk
rm -rf build
# --with-toolchain-type=clang \
bash ./configure \
--enable-option-checking=fatal \
--build=x86_64-linux-gnu \
@ -29,12 +28,20 @@ bash ./configure \
--with-debug-level=release \
--with-freetype-lib=$FREETYPE_DIR/lib \
--with-freetype-include=$FREETYPE_DIR/include/freetype2 \
--with-toolchain-type=clang \
--x-includes=/usr/include \
--x-libraries=/usr/lib \
|| error_code=$?
if [ "$error_code" -ne 0 ]; then
echo "\n\nCONFIGURE ERROR $error_code , 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
fi