]> git.pld-linux.org Git - packages/emacs.git/commitdiff
- fix 64 bit linking
authortommat <tommat@pld-linux.org>
Thu, 3 Jan 2008 17:22:14 +0000 (17:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emacs-lib64.patch -> 1.1

emacs-lib64.patch [new file with mode: 0644]

diff --git a/emacs-lib64.patch b/emacs-lib64.patch
new file mode 100644 (file)
index 0000000..6f6e2a1
--- /dev/null
@@ -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.
This page took 0.067208 seconds and 4 git commands to generate.