mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* configure.in: Set UNDERSCORE in Makefile based on result of
invoking config.bfd with a second argument of ``_''. * Makefile.in (underscore.c): Depend upon Makefile. Don't try to run $(CC) and $(NM), just use $(UNDERSCORE). Create via temporary file. (demangle.o): Remove target. ($(NM_PROG)): Don't depend upon demangle.o, and don't link against demangle.o. It's in libiberty anyhow. (cplus-dem.o): Don't depend upon demangle.o. * binutils.texi: Mention -n and --no-strip-underscores arguments to c++filt.
This commit is contained in:
@ -76,6 +76,13 @@ if [ "x${build_srconv}" = "xtrue" ]; then
|
||||
echo 'BUILD_SRCONV = $(SRCONV_PROG)' >> Makefile.2
|
||||
fi
|
||||
|
||||
if [ "x`$srcdir/../bfd/config.bfd $target _`" = "xyes" ]; then
|
||||
underscore=1
|
||||
else
|
||||
underscore=0
|
||||
fi
|
||||
echo "UNDERSCORE = ${underscore}" >> Makefile.2
|
||||
|
||||
cat Makefile.tmp >> Makefile.2
|
||||
rm -f Makefile.tmp
|
||||
mv Makefile.2 Makefile
|
||||
|
Reference in New Issue
Block a user