diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/gnu-linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 607f959c55a..6284a1df927 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -156,7 +156,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 156 | #endif /* emacs */ | 156 | #endif /* emacs */ |
| 157 | 157 | ||
| 158 | /* Ask GCC where to find libgcc.a. */ | 158 | /* Ask GCC where to find libgcc.a. */ |
| 159 | #define LIB_GCC `$(CC) $(C_SWITCH_X_MACHINE) -print-libgcc-file-name` | 159 | #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` |
| 160 | 160 | ||
| 161 | #ifndef __ELF__ | 161 | #ifndef __ELF__ |
| 162 | /* Linux has crt0.o in a non-standard place */ | 162 | /* Linux has crt0.o in a non-standard place */ |
| @@ -196,6 +196,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 196 | #ifndef __ELF__ | 196 | #ifndef __ELF__ |
| 197 | #define LIB_STANDARD -lc /* avoid -lPW */ | 197 | #define LIB_STANDARD -lc /* avoid -lPW */ |
| 198 | #else | 198 | #else |
| 199 | #undef LIB_GCC | ||
| 199 | #define LIB_GCC | 200 | #define LIB_GCC |
| 200 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o | 201 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o |
| 201 | #endif | 202 | #endif |