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:
authorMike Frysinger <vapier@gentoo.org>2022-12-14 11:20:32 +0300
committerMike Frysinger <vapier@gentoo.org>2023-01-11 09:00:15 +0300
commit26f9cfd7a8034919448ab4604a9c9d39c04b8d19 (patch)
tree8abcc623eff0b7a587f1563bd23611675deb8743 /libgloss/Makefile.am
parent31e5ce10db46bf8c15d78b2546553db45eb33141 (diff)
libgloss: arm: break newlib dependency
The libgloss port has been reaching back into newlib internals for a single header whose contents have been frozen for almost a decade. To break this backwards libgloss->newlib dependency, move the acle header to the srcroot include/ so everyone can use the same copy.
Diffstat (limited to 'libgloss/Makefile.am')
-rw-r--r--libgloss/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am
index 5b5f0fd54..18b32fad2 100644
--- a/libgloss/Makefile.am
+++ b/libgloss/Makefile.am
@@ -11,6 +11,7 @@ PHONY =
SUBDIRS = @subdirs@ .
+srcroot = $(top_srcdir)/..
tooldir = $(exec_prefix)/$(target_alias)
multilibtooldir = $(tooldir)/lib$(MULTISUBDIR)
@@ -23,6 +24,8 @@ includetool_DATA =
includesystooldir = $(tooldir)/include/sys
includesystool_DATA =
+AM_CPPFLAGS = -idirafter $(srcroot)/include
+
# A fake library so automake will generate rules for plain objects that we want
# to install (e.g. our crt0.o objects).
noinst_LIBRARIES = libobjs.a