diff options
Diffstat (limited to 'src/s/sol2.h')
-rw-r--r-- | src/s/sol2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h index 8a7dc0e4ab0..f92e0de30e5 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -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. */ |