mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 16:41:45 -08:00
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
This commit is contained in:
parent
ecf2bd2532
commit
510328f2de
2 changed files with 9 additions and 2 deletions
|
|
@ -10,5 +10,9 @@
|
|||
#ifndef __GNUC__
|
||||
#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX
|
||||
#else /* GCC */
|
||||
#define LD_SWITCH_SYSTEM -L /usr/ccs/lib -Xlinker LD_SWITCH_X_SITE_AUX
|
||||
/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
|
||||
has anything in it. It can be empty.
|
||||
This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
|
||||
#define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
|
||||
`./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
|
||||
#endif /* GCC */
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@
|
|||
#ifndef __GNUC__
|
||||
#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
|
||||
#else /* GCC */
|
||||
#define LD_SWITCH_SYSTEM -Xlinker LD_SWITCH_X_SITE_AUX
|
||||
/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
|
||||
has anything in it. It can be empty.
|
||||
This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
|
||||
#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
|
||||
#endif /* GCC */
|
||||
|
||||
/* Compile in non-ansi fashion to work around bugs in system header files. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue