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:
authorJeff Johnston <jjohnstn@redhat.com>2023-02-10 00:59:31 +0300
committerJeff Johnston <jjohnstn@redhat.com>2023-02-22 22:53:05 +0300
commit17ac400c11bab30ac2c0bef12cbf7788f0b6f954 (patch)
treef64b33a564048dd2831f77501b2f0c266e9eff84 /libgloss/Makefile.am
parent97d483c2f81c0865bead701f4d2824a21fae4938 (diff)
Fix libgloss/newlib build to conditionally use top include dir
- conditionally use -idirafter option for arm
Diffstat (limited to 'libgloss/Makefile.am')
-rw-r--r--libgloss/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am
index 4309cd3a4..d4b7d4077 100644
--- a/libgloss/Makefile.am
+++ b/libgloss/Makefile.am
@@ -24,7 +24,11 @@ includetool_DATA =
includesystooldir = $(tooldir)/include/sys
includesystool_DATA =
+if NEED_TOP_INCLUDE_DIR
AM_CPPFLAGS = -idirafter $(srcroot)/include
+else
+AM_CPPFLAGS =
+endif
# A fake library so automake will generate rules for plain objects that we want
# to install (e.g. our crt0.o objects).