diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-26 11:32:57 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-26 11:33:41 +0200 |
commit | 1b0cbe05822f349ef8bc32fc1138d2874b2f469c (patch) | |
tree | f3c275ca67f34cbc30ad0494f9a32c69d2f74c4a /libphobos | |
parent | 9887f9d815fbcfe944af6e12fc93175dba882a28 (diff) | |
download | gcc-1b0cbe05822f349ef8bc32fc1138d2874b2f469c.zip gcc-1b0cbe05822f349ef8bc32fc1138d2874b2f469c.tar.gz gcc-1b0cbe05822f349ef8bc32fc1138d2874b2f469c.tar.bz2 |
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.
Diffstat (limited to 'libphobos')
-rw-r--r-- | libphobos/ChangeLog | 8 | ||||
-rwxr-xr-x | libphobos/configure | 5 | ||||
-rw-r--r-- | libphobos/configure.tgt | 4 | ||||
-rw-r--r-- | 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 <ibuclaw@gdcproject.org> + + * 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 <pro.mathias.lang@gmail.com> Iain Buclaw <ibuclaw@gdcproject.org> 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) |