From 1b0cbe05822f349ef8bc32fc1138d2874b2f469c Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sun, 26 Apr 2020 11:32:57 +0200 Subject: libphobos: Add power*-*-linux* as a supported target libphobos/ChangeLog: * configure: Regenerate. * configure.tgt: Add power*-*-linux* as a supported target, only building libdruntime. * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle and powerpc64le target cpus. --- libphobos/ChangeLog | 8 ++++++++ libphobos/configure | 5 +++-- libphobos/configure.tgt | 4 ++++ libphobos/m4/druntime/cpu.m4 | 5 +++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 3b89f9b..ae894c6 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,11 @@ +2020-04-26 Iain Buclaw + + * configure: Regenerate. + * configure.tgt: Add power*-*-linux* as a supported target, only + building libdruntime. + * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle + and powerpc64le target cpus. + 2020-04-21 Mathias Lang Iain Buclaw diff --git a/libphobos/configure b/libphobos/configure index c2b4913..c923417 100755 --- a/libphobos/configure +++ b/libphobos/configure @@ -13991,9 +13991,10 @@ fi ;; mips*) druntime_target_cpu_parsed="mips" ;; - powerpc) druntime_target_cpu_parsed="powerpc" + powerpc|powerpcle) + druntime_target_cpu_parsed="powerpc" ;; - powerpc64) + powerpc64|powerpc64le) druntime_target_cpu_parsed="powerpc64" ;; i[34567]86|x86_64) diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 66082e3..ce4cc1f 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -33,6 +33,10 @@ case "${target}" in mips*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; + power*-*-linux*) + LIBPHOBOS_SUPPORTED=yes + LIBDRUNTIME_ONLY=yes + ;; riscv*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; diff --git a/libphobos/m4/druntime/cpu.m4 b/libphobos/m4/druntime/cpu.m4 index 4887248..6e88896 100644 --- a/libphobos/m4/druntime/cpu.m4 +++ b/libphobos/m4/druntime/cpu.m4 @@ -17,9 +17,10 @@ AC_DEFUN([DRUNTIME_CPU_SOURCES], ;; mips*) druntime_target_cpu_parsed="mips" ;; - powerpc) druntime_target_cpu_parsed="powerpc" + powerpc|powerpcle) + druntime_target_cpu_parsed="powerpc" ;; - powerpc64) + powerpc64|powerpc64le) druntime_target_cpu_parsed="powerpc64" ;; i[[34567]]86|x86_64) -- cgit v1.1