diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-24 00:12:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-01 21:53:22 -0500 |
commit | d5a20f0b70c73c72ec2bc4b639815bb821859255 (patch) | |
tree | a879b98fbc8d9a183b99a9253bc80aefe7387ad6 /libgloss/config | |
parent | d5ebf5277ed397b87428510fff49d4a1b584c85d (diff) | |
download | newlib-d5a20f0b70c73c72ec2bc4b639815bb821859255.zip newlib-d5a20f0b70c73c72ec2bc4b639815bb821859255.tar.gz newlib-d5a20f0b70c73c72ec2bc4b639815bb821859255.tar.bz2 |
libgloss: merge epiphany & libnosys & or1k configure scripts up a level
These subdirs have unique configure scripts to do some compiler tests.
The checks should work for all targets, so hoist them up to the top
libgloss dir. This should allow us to delete these subdir configure
scripts.
It means the top-level gains autoheader support, but that's fine.
It wasn't exporting any defines previously (i.e. -D into CPPFLAGS),
and all of the defines it now exports are only used by code in the
libnosys subdir which was expecting to have a config.h.
Diffstat (limited to 'libgloss/config')
-rw-r--r-- | libgloss/config/default.mh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/config/default.mh b/libgloss/config/default.mh index a864302..987dc39 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)/.. +INCLUDES = -I. -I$(srcdir)/.. -I$(objdir)/.. # 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} |