8078245: AARCH64: JDK fails to build due to undefined symbol in libpng
authorenevill
Tue, 05 May 2015 09:08:20 +0000
changeset 30325 1472b22475f2
parent 30324 6f3109ded2b8
child 30367 f978e29117a6
8078245: AARCH64: JDK fails to build due to undefined symbol in libpng Summary: Add -DPNG_ARM_NEON_OPT=0 to LIBSPLASHSCREEN_CFLAGS flags Reviewed-by: dholmes, ihse, erikj
jdk/make/lib/Awt2dLibraries.gmk
--- a/jdk/make/lib/Awt2dLibraries.gmk	Tue May 05 21:14:12 2015 +0800
+++ b/jdk/make/lib/Awt2dLibraries.gmk	Tue May 05 09:08:20 2015 +0000
@@ -827,7 +827,7 @@
     LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/java.desktop/macosx/native/libsplashscreen
   endif
 
-  LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE \
+  LIBSPLASHSCREEN_CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0 \
       $(addprefix -I, $(LIBSPLASHSCREEN_DIRS)) \
       $(LIBJAVA_HEADER_FLAGS) \
       #