mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-09 20:25:48 -04:00
Patch: skip building demo/libwaiters.so
undefined reference to __gxx_personality_v0 Also: - Perform unsafe git applying of patches - Comment out freemarker stuff, not needed here
This commit is contained in:
parent
c7407f6561
commit
817fc68835
@ -61,7 +61,8 @@ ln -s -f $CUPS_DIR/cups $ANDROID_INCLUDE/
|
|||||||
cd openjdk
|
cd openjdk
|
||||||
|
|
||||||
# Apply patches
|
# Apply patches
|
||||||
git apply --reject --whitespace=fix ../patches/jdk8u_android.diff
|
git reset --hard
|
||||||
|
git apply --reject --whitespace=fix ../patches/jdk8u_android.diff || echo "git apply failed"
|
||||||
|
|
||||||
# --with-extra-cxxflags="$CXXFLAGS -Dchar16_t=uint16_t -Dchar32_t=uint32_t" \
|
# --with-extra-cxxflags="$CXXFLAGS -Dchar16_t=uint16_t -Dchar32_t=uint32_t" \
|
||||||
# --with-extra-cflags="$CPPFLAGS" \
|
# --with-extra-cflags="$CPPFLAGS" \
|
||||||
|
@ -29,6 +29,7 @@ else
|
|||||||
--host=$TARGET \
|
--host=$TARGET \
|
||||||
--prefix=`pwd`/build_android-${TARGET_SHORT} \
|
--prefix=`pwd`/build_android-${TARGET_SHORT} \
|
||||||
--without-zlib \
|
--without-zlib \
|
||||||
|
--with-brotli=no \
|
||||||
--with-png=no \
|
--with-png=no \
|
||||||
--with-harfbuzz=no $EXTRA_ARGS \
|
--with-harfbuzz=no $EXTRA_ARGS \
|
||||||
|| error_code=$?
|
|| error_code=$?
|
||||||
|
@ -10,7 +10,8 @@ tar xf freetype-$BUILD_FREETYPE_VERSION.tar.gz
|
|||||||
wget https://github.com/apple/cups/releases/download/v2.2.4/cups-2.2.4-source.tar.gz
|
wget https://github.com/apple/cups/releases/download/v2.2.4/cups-2.2.4-source.tar.gz
|
||||||
tar xf cups-2.2.4-source.tar.gz
|
tar xf cups-2.2.4-source.tar.gz
|
||||||
|
|
||||||
wget https://sourceforge.net/projects/freemarker/files/freemarker/2.3.8/freemarker-2.3.8.tar.gz/download -O freemarker-2.3.8.tar.gz
|
# wget https://sourceforge.net/projects/freemarker/files/freemarker/2.3.8/freemarker-2.3.8.tar.gz/download -O freemarker-2.3.8.tar.gz
|
||||||
tar -xzf freemarker-2.3.8.tar.gz
|
# tar -xzf freemarker-2.3.8.tar.gz
|
||||||
|
|
||||||
rm cups-2.2.4-source.tar.gz freetype-$BUILD_FREETYPE_VERSION.tar.gz freemarker-2.3.8.tar.gz
|
rm cups-2.2.4-source.tar.gz freetype-$BUILD_FREETYPE_VERSION.tar.gz
|
||||||
|
# freemarker-2.3.8.tar.gz
|
||||||
|
@ -2700,6 +2700,20 @@ index 3ce8e92cc3..af2601b8eb 100644
|
|||||||
#define ELF_ST_TYPE ELF32_ST_TYPE
|
#define ELF_ST_TYPE ELF32_ST_TYPE
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
diff --git a/jdk/make/CompileDemos.gmk b/jdk/make/CompileDemos.gmk
|
||||||
|
index 6c5eb432..c2ed8740 100644
|
||||||
|
--- a/jdk/make/CompileDemos.gmk
|
||||||
|
+++ b/jdk/make/CompileDemos.gmk
|
||||||
|
@@ -327,7 +327,8 @@ $(eval $(call SetupJVMTIDemo,hprof, java_crw_demo, \
|
||||||
|
|
||||||
|
$(eval $(call SetupJVMTIDemo,minst, agent_util java_crw_demo))
|
||||||
|
$(eval $(call SetupJVMTIDemo,mtrace, agent_util java_crw_demo))
|
||||||
|
-$(eval $(call SetupJVMTIDemo,waiters, agent_util, , C++))
|
||||||
|
+# FIXME(Android): undefined reference to __gxx_personality_v0
|
||||||
|
+#$(eval $(call SetupJVMTIDemo,waiters, agent_util, , C++))
|
||||||
|
$(eval $(call SetupJVMTIDemo,versionCheck, agent_util))
|
||||||
|
|
||||||
|
##################################################################################################
|
||||||
diff --git a/jdk/make/CompileLaunchers.gmk b/jdk/make/CompileLaunchers.gmk
|
diff --git a/jdk/make/CompileLaunchers.gmk b/jdk/make/CompileLaunchers.gmk
|
||||||
index 1f414e2e05..110d531b9d 100644
|
index 1f414e2e05..110d531b9d 100644
|
||||||
--- a/jdk/make/CompileLaunchers.gmk
|
--- a/jdk/make/CompileLaunchers.gmk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user