summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-19 17:10:10 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-19 17:10:10 +0000
commitbd83823f97be3bab15896c1c7798b1bf3bbeb162 (patch)
tree66b9ac453b331c08a7c21a28ad01f1ee353d84cd
parent94f18ea43f1240b8bebad5c2f2cb9003c5ce59fd (diff)
downloademacs-bd83823f97be3bab15896c1c7798b1bf3bbeb162.tar.gz
(LIB_GCC): Fix previous change.
If we redefine it later, #undef it first.
-rw-r--r--src/s/gnu-linux.h3
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. */
#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