mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Patches to make fixincludes work for cross toolchains.
This commit is contained in:
@ -1,4 +1,9 @@
|
|||||||
nTue Oct 31 10:29:36 1995 steve chamberlain <sac@slash.cygnus.com>
|
Tue Oct 31 16:57:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
|
||||||
|
|
||||||
|
* configure.in (copy_dirs): Use sys-include instead of include
|
||||||
|
for --with-headers option.
|
||||||
|
|
||||||
|
Tue Oct 31 10:29:36 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in, configure.in: Make winsup builds work with
|
* Makefile.in, configure.in: Make winsup builds work with
|
||||||
new scheme.
|
new scheme.
|
||||||
|
@ -251,7 +251,7 @@ fi
|
|||||||
copy_dirs=
|
copy_dirs=
|
||||||
|
|
||||||
# Handle --with-headers=XXX. The contents of the named directory are
|
# Handle --with-headers=XXX. The contents of the named directory are
|
||||||
# copied to $(tooldir)/include.
|
# copied to $(tooldir)/sys-include.
|
||||||
if [ x"${with_headers}" != x ]; then
|
if [ x"${with_headers}" != x ]; then
|
||||||
if [ x${is_cross_compiler} = xno ]; then
|
if [ x${is_cross_compiler} = xno ]; then
|
||||||
echo 1>&2 '***' --with-headers is only supported when cross compiling
|
echo 1>&2 '***' --with-headers is only supported when cross compiling
|
||||||
@ -261,7 +261,7 @@ if [ x"${with_headers}" != x ]; then
|
|||||||
"") x=${prefix} ;;
|
"") x=${prefix} ;;
|
||||||
*) x=${exec_prefix} ;;
|
*) x=${exec_prefix} ;;
|
||||||
esac
|
esac
|
||||||
copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/include"
|
copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Handle --with-libs=XXX. Multiple directories are permitted. The
|
# Handle --with-libs=XXX. Multiple directories are permitted. The
|
||||||
|
Reference in New Issue
Block a user