changeset 12314:b55e6abc0f0e

(LIB_GCC): Fix previous change. If we redefine it later, #undef it first.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 Jun 1995 17:10:10 +0000
parents eca218b0a8ca
children 49a48bf414c7
files src/s/gnu-linux.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Mon Jun 19 16:15:06 1995 +0000
+++ b/src/s/gnu-linux.h	Mon Jun 19 17:10:10 1995 +0000
@@ -156,7 +156,7 @@
 #endif /* emacs */
 
 /* Ask GCC where to find libgcc.a.  */
-#define LIB_GCC `$(CC) $(C_SWITCH_X_MACHINE) -print-libgcc-file-name`
+#define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name`
 
 #ifndef __ELF__
 /* Linux has crt0.o in a non-standard place */
@@ -196,6 +196,7 @@
 #ifndef __ELF__
 #define LIB_STANDARD -lc /* avoid -lPW */
 #else
+#undef LIB_GCC
 #define LIB_GCC
 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
 #endif