Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 6c49cb750..fa805d61a 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -118,6 +118,10 @@ case "${host_cpu}" in
machine_dir=aarch64
libm_machine_dir=aarch64
;;
+ amdgcn*)
+ newlib_cflags="${newlib_cflags} -D__DYNAMIC_REENT__"
+ machine_dir=amdgcn
+ ;;
arc*)
machine_dir=arc
;;
@@ -442,6 +446,10 @@ case "${host}" in
aarch64*-*-*)
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
;;
+ amdgcn*)
+ sys_dir=amdgcn
+ have_crt0="no"
+ ;;
arm*-*-*)
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
sys_dir=arm