Commit 01fe54c5 authored by Matteo Basso's avatar Matteo Basso

support linux ppc64

parent 67d3b846
......@@ -314,6 +314,7 @@
<ac:switch value="${os.arch}" caseinsensitive="true">
<case value="x86_64"><property name="disl.agent.arch" value="x86_64"/></case>
<case value="amd64"><property name="disl.agent.arch" value="x86_64"/></case>
<case value="ppc64"><property name="disl.agent.arch" value="ppc64"/></case>
<default><property name="disl.agent.arch" value="x86"/></default>
</ac:switch>
......
......@@ -78,7 +78,7 @@ else ifeq (Linux,$(TARGET_ENV))
#
CFLAGS_WHOLE := -flto -fwhole-program
ifneq (x86_64,$(TARGET_CPU))
ifeq (,$(filter $(TARGET_CPU),x86_64 ppc64))
CFLAGS += -m32
LDFLAGS += -melf_i386
endif
......@@ -89,6 +89,8 @@ endif
ifeq (x86_64,$(TARGET_CPU))
BUILD_DIR := $(JDK_TARGET)-x86_64
else ifeq (ppc64,$(TARGET_CPU))
BUILD_DIR := $(JDK_TARGET)-ppc64
else
BUILD_DIR := $(JDK_TARGET)-x86
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment