File tree 2 files changed +6
-3
lines changed
src/share/native/sun/awt/libpng
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1159,6 +1159,12 @@ ifndef BUILD_HEADLESS_ONLY
1159
1159
-DPNG_ARM_NEON_OPT=0 -DPNG_ARM_NEON_IMPLEMENTATION=0 \
1160
1160
$(foreach dir, $(LIBSPLASHSCREEN_DIRS), -I$(dir))
1161
1161
1162
+ ifeq ($(OPENJDK_TARGET_OS), linux)
1163
+ ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
1164
+ LIBSPLASHSCREEN_CFLAGS += -DPNG_POWERPC_VSX_OPT=0
1165
+ endif
1166
+ endif
1167
+
1162
1168
ifeq ($(OPENJDK_TARGET_OS), macosx)
1163
1169
LIBSPLASHSCREEN_CFLAGS := -I$(JDK_TOPDIR)/src/macosx/native/sun/awt/splashscreen \
1164
1170
$(LIBSPLASHSCREEN_CFLAGS)
Original file line number Diff line number Diff line change 293
293
# endif
294
294
#endif /* PNG_MIPS_MSA_OPT > 0 */
295
295
296
- #ifdef PNG_POWERPC_VSX_API_SUPPORTED
297
296
#if PNG_POWERPC_VSX_OPT > 0
298
297
# define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_vsx
299
298
# define PNG_POWERPC_VSX_IMPLEMENTATION 1
300
299
#endif
301
- #endif
302
-
303
300
304
301
305
302
/* Is this a build of a DLL where compilation of the object modules requires
You can’t perform that action at this time.
0 commit comments