aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2008-01-17 04:04:26 +0000
committerGlenn Morris <[email protected]>2008-01-17 04:04:26 +0000
commit5d2c8fc0d8e74cfa8bbe6b5d4a26eff56d911df6 (patch)
tree4a3f8c4a11fec928833f76c466e272ed30960df3 /src/m
parent1d6c7cd7ee40709f25c6e24a2daffbfbc226efc3 (diff)
(START_FILES, LIB_STANDARD): Adjust value according to HAVE_X86_64_LIB64_DIR.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/ibms390x.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h
index 89aa3c1933..290b17a3e3 100644
--- a/src/m/ibms390x.h
+++ b/src/m/ibms390x.h
@@ -23,7 +23,7 @@ Boston, MA 02110-1301, USA. */
into ibms390.h. */
-/* The following line tells the configuration script what sort of
+/* The following line tells the configuration script what sort of
operating system this machine is likely to run.
USUAL-OPSYS="<name of system .h file here, without the s- or .h>"
@@ -161,10 +161,18 @@ NOTE-END */
#define XPNTR(a) XUINT (a)
#undef START_FILES
+#ifdef HAVE_X86_64_LIB64_DIR
#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
+#else
+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
+#endif
#undef LIB_STANDARD
+#ifdef HAVE_X86_64_LIB64_DIR
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
+#else
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
+#endif
/* arch-tag: 4b87653c-6add-4663-8691-7d9dc17b5519
(do not change this comment) */