1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR

instead of HAVE_X86_64_LIB64_DIR.
This commit is contained in:
Andreas Schwab 2008-01-17 11:42:12 +00:00
parent ddd01c5dd4
commit ea7a608ab9
2 changed files with 4 additions and 4 deletions

View File

@ -146,7 +146,7 @@ Boston, MA 02110-1301, USA. */
#else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !sun */
#undef START_FILES
#ifdef HAVE_X86_64_LIB64_DIR
#ifdef HAVE_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
@ -158,7 +158,7 @@ Boston, MA 02110-1301, USA. */
versions of ld are one-pass linkers, we need to mention -lgcc twice,
or else we risk getting unresolved externals. */
#undef LIB_STANDARD
#ifdef HAVE_X86_64_LIB64_DIR
#ifdef HAVE_LIB64_DIR
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
#else
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o

View File

@ -152,14 +152,14 @@ NOTE-END */
#define XPNTR(a) XUINT (a)
#undef START_FILES
#ifdef HAVE_X86_64_LIB64_DIR
#ifdef HAVE_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
#ifdef HAVE_LIB64_DIR
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
#else
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o