Warn undefined symbols (--warn-unresolved-symbols)

This commit is contained in:
Tran Khanh Duy 2020-10-23 05:43:50 +07:00 committed by GitHub
parent 60f8fda8f2
commit 7abb8d8c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,13 @@ ln -s /usr/include/fontconfig $ANDROID_INCLUDE/
mkdir dummy_libs
ar cru dummy_libs/libpthread.a
ar cru dummy_libs/libthread_db.a
export LDFLAGS+=" -L`pwd`/dummy_libs"
export LDFLAGS+=" -L`pwd`/dummy_libs --warn-unresolved-symbols"
cd openjdk
rm -rf build
# --with-extra-cxxflags="$CXXFLAGS --std=c++11" \
bash ./configure BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true \
--disable-headful \
# --disable-headful \
bash ./configure \
--with-extra-cflags="$CPPFLAGS" \
--with-extra-ldflags="$LDFLAGS" \
--enable-option-checking=fatal \