changeset 87800:10ce0ba0e18f

(START_FILES, LIB_STANDARD): Adjust value according to HAVE_X86_64_LIB64_DIR.
author Glenn Morris <rgm@gnu.org>
date Thu, 17 Jan 2008 04:07:51 +0000
parents 1d80928e0414
children 3c8145a14ad7
files src/m/ibms390x.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/ibms390x.h	Wed Jan 16 16:29:00 2008 +0000
+++ b/src/m/ibms390x.h	Thu Jan 17 04:07:51 2008 +0000
@@ -152,10 +152,18 @@
 #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) */