This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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] |
[...]I'd like to embed an RPATH/RUNPATH into all gcc binaries. It isn't enough to just set LDFLAGS and BOOT_LDFLAGS in the environment; those two variables must also be passed explicitly as part of the make command:
make LDFLAGS="$LDFLAGS", BOOT_LDFLAGS="$BOOT_LDFLAGS"
So far, so good. However, I'd also trying to use the magic word, '$ORIGIN', with a literal dollar sign, in the embedded RPATH. LDFLAGS currently looks like this:
The problem is that the top-level Makefile specifies enough layers of recursive calls to make and the shell that I haven't found a way to quote the dollar sign so that it stays quoted throughout the process. Any hints?
-- Marc Glisse
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |