PKGBUILDs/extra/java7-openjdk/text-relocations.diff
2018-03-02 01:23:15 +00:00

13 lines
537 B
Diff

Index: openjdk/hotspot/make/linux/makefiles/gcc.make
===================================================================
--- openjdk/hotspot/make/linux/makefiles/gcc.make
+++ openjdk/hotspot/make/linux/makefiles/gcc.make
@@ -66,7 +66,7 @@ endif
# Compiler flags
# position-independent code
-ifneq ($(filter parisc ppc ppc64 s390 s390x sparc sparc64 sparcv9,$(ZERO_LIBARCH)),)
+ifneq ($(filter aarch64 alpha m68k mips mipsel parisc ppc ppc64 s390 s390x sparc sparc64 sparcv9,$(ZERO_LIBARCH)),)
PICFLAG = -fPIC
else
PICFLAG = -fpic