mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
Fix computation of CXX_FOR_TARGET so that it can detect an in-tree xg++ executable.
* Makefile.am (CXX_FOR_TARGET): Check for the presence of an in-tree xg++ executable after checking for the presence of an in-tree g++ executable. * Makefile.in: Regenerate.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2016-02-18 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.am (CXX_FOR_TARGET): Check for the presence of an
|
||||||
|
in-tree xg++ executable after checking for the presence of an
|
||||||
|
in-tree g++ executable.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
|
||||||
2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
|
2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
|
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
|
||||||
|
@ -122,6 +122,12 @@ CXX_FOR_TARGET = ` \
|
|||||||
else \
|
else \
|
||||||
echo $$r/../gcc/g++ -B$$r/../gcc/; \
|
echo $$r/../gcc/g++ -B$$r/../gcc/; \
|
||||||
fi; \
|
fi; \
|
||||||
|
elif [ -f $$r/../gcc/xg++ ] ; then \
|
||||||
|
if [ -f $$r/../newlib/Makefile ] ; then \
|
||||||
|
echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
||||||
|
else \
|
||||||
|
echo $$r/../gcc/xg++ -B$$r/../gcc/; \
|
||||||
|
fi; \
|
||||||
else \
|
else \
|
||||||
if [ "@host@" = "@target@" ] ; then \
|
if [ "@host@" = "@target@" ] ; then \
|
||||||
echo $(CXX); \
|
echo $(CXX); \
|
||||||
|
@ -455,6 +455,12 @@ CXX_FOR_TARGET = ` \
|
|||||||
else \
|
else \
|
||||||
echo $$r/../gcc/g++ -B$$r/../gcc/; \
|
echo $$r/../gcc/g++ -B$$r/../gcc/; \
|
||||||
fi; \
|
fi; \
|
||||||
|
elif [ -f $$r/../gcc/xg++ ] ; then \
|
||||||
|
if [ -f $$r/../newlib/Makefile ] ; then \
|
||||||
|
echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
||||||
|
else \
|
||||||
|
echo $$r/../gcc/xg++ -B$$r/../gcc/; \
|
||||||
|
fi; \
|
||||||
else \
|
else \
|
||||||
if [ "@host@" = "@target@" ] ; then \
|
if [ "@host@" = "@target@" ] ; then \
|
||||||
echo $(CXX); \
|
echo $(CXX); \
|
||||||
|
Reference in New Issue
Block a user