This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure munges $ORIGIN in LDFLAGS (SOLVED)


Poor Yorick wrote:
>> From: Poor Yorick Subject: configure munges $ORIGIN in LDFLAGS
>> 
>> Using a shell script to build binutils-2.19.1, LDFLAGS assignment looks
>> like this:

  Can we see this script?

>> Apparently, the top Makefile needs to requote arguments before invoking 
>> binutils/configure.  

  Either that, or it is not supported to embed shell variables into the
configure arguments.

> It turns out that, in one of the most heinous cases of escaping I have ever
> seen in production code, this is the correct way to quote $ORIGIN in the
> top-level Makefile:

> If that isn't evil, I don't know what is.

  This makes me suspect that your desired mode of operation is simply not
catered for.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]