[PATCH,V3.2,11/15] libctf: add libsframe to LDFLAGS and LIBS

Andreas Schwab schwab@linux-m68k.org
Sat Nov 5 09:21:38 GMT 2022


On Nov 04 2022, Indu Bhagat wrote:

> @@ -83,9 +84,11 @@ AM_CONDITIONAL(ENABLE_LIBCTF_HASH_DEBUGGING, test "${enable_libctf_hash_debuggin
>  OLD_CFLAGS=$CFLAGS
>  OLD_LDFLAGS=$LDFLAGS
>  OLD_LIBS=$LIBS
> +OLD_CC=$CC
>  # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
>  # points somewhere with bfd, with -I/foo/lib and -L/foo/lib.  We
>  # always want our bfd.
> +CC=`echo ${LIBTOOL} --mode=link $OLD_CC | sed 's,\$(SHELL),,g' | sed 's,\$(top_builddir)/,./,g'`

$(LIBTOOL) can only be used in a makefile, not suitable for a shell
script.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Binutils mailing list