make/lib/Awt2dLibraries.gmk
changeset 51387 9fe4fc157f4e
parent 50826 f5b95be8b6e2
child 51811 4be08a5102b0
child 56873 af61810ccd5b
--- a/make/lib/Awt2dLibraries.gmk	Mon Aug 13 04:02:51 2018 -0700
+++ b/make/lib/Awt2dLibraries.gmk	Fri Aug 10 09:16:10 2018 +0200
@@ -796,6 +796,12 @@
 
   LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0
 
+  ifeq ($(OPENJDK_TARGET_OS), linux)
+    ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
+      LIBSPLASHSCREEN_CFLAGS += -DPNG_POWERPC_VSX_OPT=0
+    endif
+  endif
+
   ifeq ($(OPENJDK_TARGET_OS), macosx)
     LIBSPLASHSCREEN_CFLAGS += -DWITH_MACOSX