diff options
| author | Glenn Morris | 2010-04-23 19:23:22 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-23 19:23:22 -0700 |
| commit | 70eab5c1825a15ead8010be9aafc1d72486fd07d (patch) | |
| tree | b367b1618a94b8fbaa78ddd337452119becf580d /src/m | |
| parent | fea1add44802d318b71d0aa2f35740f1d8640d26 (diff) | |
| download | emacs-70eab5c1825a15ead8010be9aafc1d72486fd07d.tar.gz emacs-70eab5c1825a15ead8010be9aafc1d72486fd07d.zip | |
Close bug#5655.
* configure.in (CRT_DIR): New output variable.
(--with-crt-dir): New option. (Bug#5655)
(HAVE_LIB64_DIR): Remove.
* src/Makefile.in (CRT_DIR): New variable, set by configure.
* src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
Use $CRT_DIR rather than HAVE_LIB64_DIR. (Bug#5655)
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/ibms390x.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index 9429e4282bf..ea0fa11ec3f 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -91,18 +91,10 @@ NOTE-END */ | |||
| 91 | #define XPNTR(a) XUINT (a) | 91 | #define XPNTR(a) XUINT (a) |
| 92 | 92 | ||
| 93 | #undef START_FILES | 93 | #undef START_FILES |
| 94 | #ifdef HAVE_LIB64_DIR | 94 | #define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o |
| 95 | #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o | ||
| 96 | #else | ||
| 97 | #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o | ||
| 98 | #endif | ||
| 99 | 95 | ||
| 100 | #undef LIB_STANDARD | 96 | #undef LIB_STANDARD |
| 101 | #ifdef HAVE_LIB64_DIR | 97 | #define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o |
| 102 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o | ||
| 103 | #else | ||
| 104 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o | ||
| 105 | #endif | ||
| 106 | 98 | ||
| 107 | /* arch-tag: 4b87653c-6add-4663-8691-7d9dc17b5519 | 99 | /* arch-tag: 4b87653c-6add-4663-8691-7d9dc17b5519 |
| 108 | (do not change this comment) */ | 100 | (do not change this comment) */ |