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/config
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/config')
-rw-r--r--libgloss/config/default.mh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/config/default.mh b/libgloss/config/default.mh
index 4e7f106f9..81f0920f9 100644
--- a/libgloss/config/default.mh
+++ b/libgloss/config/default.mh
@@ -1,7 +1,7 @@
NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi`
NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi`
-INCLUDES = -I. -I$(srcdir)/.. -I$(objdir)/..
+INCLUDES = -I. -I$(srcdir)/.. -I$(objdir)/.. -idirafter $(srcroot)/include
# Note that when building the library, ${MULTILIB} is not the way multilib
# options are passed; they're passed in $(CFLAGS).
CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS}