aboutsummaryrefslogtreecommitdiff
path: root/libgloss/configure.ac
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2023-02-09 16:59:31 -0500
committerJeff Johnston <jjohnstn@redhat.com>2023-02-22 14:53:05 -0500
commit17ac400c11bab30ac2c0bef12cbf7788f0b6f954 (patch)
treef64b33a564048dd2831f77501b2f0c266e9eff84 /libgloss/configure.ac
parent97d483c2f81c0865bead701f4d2824a21fae4938 (diff)
downloadnewlib-17ac400c11bab30ac2c0bef12cbf7788f0b6f954.zip
newlib-17ac400c11bab30ac2c0bef12cbf7788f0b6f954.tar.gz
newlib-17ac400c11bab30ac2c0bef12cbf7788f0b6f954.tar.bz2
Fix libgloss/newlib build to conditionally use top include dir
- conditionally use -idirafter option for arm
Diffstat (limited to 'libgloss/configure.ac')
-rw-r--r--libgloss/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/configure.ac b/libgloss/configure.ac
index 5fb2684..a332193 100644
--- a/libgloss/configure.ac
+++ b/libgloss/configure.ac
@@ -214,6 +214,7 @@ case "${target}" in
;;
arm*-*-elf | arm*-*-coff | arm*-*-*)
config_arm=true
+ host_makefile_frag=${srcdir}/config/arm.mh
;;
spu-*-elf)
AC_CONFIG_FILES([spu/Makefile])
@@ -252,6 +253,9 @@ m4_foreach_w([SUBDIR], [
AM_CONDITIONAL([CONFIG_]m4_toupper(SUBDIR), [test x$config_]SUBDIR = xtrue)
])
+dnl arm platforms have a special header file found in the main include directory
+AM_CONDITIONAL([NEED_TOP_INCLUDE_DIR], [[test x$config_arm] = xtrue])
+
dnl For now, don't bother configuring testsuite
dnl
dnl if test "${config_testsuite}" = "true";