aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-19 17:10:10 +0000
committerRichard M. Stallman1995-06-19 17:10:10 +0000
commit08ddf771a2ac26c2eaf7d50f92e02952d26cc2c8 (patch)
tree2b82bdc1a56189cef34b6aff5548096a31fc9b79 /src/s/gnu-linux.h
parentb9ff190da76ae9ab57e16d4c89b5df69a166f2de (diff)
downloademacs-08ddf771a2ac26c2eaf7d50f92e02952d26cc2c8.tar.gz
emacs-08ddf771a2ac26c2eaf7d50f92e02952d26cc2c8.zip
(LIB_GCC): Fix previous change.
If we redefine it later, #undef it first.
Diffstat (limited to 'src/s/gnu-linux.h')
-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. */
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