SOURCES: emacs-lib64.patch (NEW) - fix 64 bit linking
tommat
tommat at pld-linux.org
Thu Jan 3 18:22:19 CET 2008
Author: tommat Date: Thu Jan 3 17:22:19 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix 64 bit linking
---- Files affected:
SOURCES:
emacs-lib64.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/emacs-lib64.patch
diff -u /dev/null SOURCES/emacs-lib64.patch:1.1
--- /dev/null Thu Jan 3 18:22:19 2008
+++ SOURCES/emacs-lib64.patch Thu Jan 3 18:22:14 2008
@@ -0,0 +1,23 @@
+--- emacs-22.1/src/s/gnu-linux.h.orig 2008-01-03 13:12:45.000000000 +0000
++++ emacs-22.1/src/s/gnu-linux.h 2008-01-03 13:13:20.000000000 +0000
+@@ -190,9 +190,9 @@
+
+ #ifndef __ELF__
+ /* GNU/Linux usually has crt0.o in a non-standard place */
+-#define START_FILES pre-crt0.o /usr/lib/crt0.o
++#define START_FILES pre-crt0.o /usr/lib64/crt0.o
+ #else
+-#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
++#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
+ #endif
+
+ #ifdef __ELF__
+@@ -244,7 +244,7 @@
+ #else
+ #undef LIB_GCC
+ #define LIB_GCC
+-#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
++#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
+ #endif
+
+ /* Don't use -g in test compiles in configure.
================================================================
More information about the pld-cvs-commit
mailing list