From 08ddf771a2ac26c2eaf7d50f92e02952d26cc2c8 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 19 Jun 1995 17:10:10 +0000 Subject: [PATCH] (LIB_GCC): Fix previous change. If we redefine it later, #undef it first. --- src/s/gnu-linux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ #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 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #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 -- 2.39.2