diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-28 03:17:04 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-29 09:35:30 +0300 |
commit | 6444f108d9a4a6fac8462c116d4104889b5efb95 (patch) | |
tree | ce46465ceabd749533a136e1decbfe8f3697bb13 /newlib/configure.ac | |
parent | 502cf4b7b5b79b83e8f41b4074212f9e27753f0b (diff) |
newlib: export abs_newlib_basedir for all subdirs
When using the top-level configure script but subdir Makefiles, the
newlib_basedir value gets a bit out of sync: it's relative to where
configure lives, not where the Makefile lives. Move the abs setting
from the top-level configure script into acinclude.m4 so we can rely
on it being available everywhere. Although this commit doesn't use
it anywhere, just lays the groundwork.
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r-- | newlib/configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac index cac2d7296..5c38fc5b5 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -315,7 +315,6 @@ AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue) # These get added in the top-level configure.in, except in the case where # newlib is being built natively. LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include` -abs_newlib_basedir=`cd ${newlib_basedir} && pwd` if test -z "${LIBC_INCLUDE_GREP}"; then CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include" else |