diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-01-25 22:53:28 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-01-25 22:53:28 +0000 |
commit | 7e75b79e9c09f08fcb1b1d718edc27e93c605427 (patch) | |
tree | cefb71fbf5c7f346484550e89495a993953a00bf /app-editors/emacs/files | |
parent | Omit trailing slash from crtdir. (diff) | |
download | emacs-7e75b79e9c09f08fcb1b1d718edc27e93c605427.tar.gz emacs-7e75b79e9c09f08fcb1b1d718edc27e93c605427.tar.bz2 emacs-7e75b79e9c09f08fcb1b1d718edc27e93c605427.zip |
Honour the --with-crt-dir configure option also on 32 bit architectures, fixes bug 350532.
svn path=/emacs-overlay/; revision=1570
Diffstat (limited to 'app-editors/emacs/files')
-rw-r--r-- | app-editors/emacs/files/emacs-23.2-gnu-linux-crt-dir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-editors/emacs/files/emacs-23.2-gnu-linux-crt-dir.patch b/app-editors/emacs/files/emacs-23.2-gnu-linux-crt-dir.patch new file mode 100644 index 0000000..fb06459 --- /dev/null +++ b/app-editors/emacs/files/emacs-23.2-gnu-linux-crt-dir.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/350532 + +--- emacs-23.2-orig/src/s/gnu-linux.h ++++ emacs-23.2/src/s/gnu-linux.h +@@ -168,7 +168,7 @@ + /* Ask GCC where to find libgcc.a. */ + #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name` + +-#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o ++#define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o + + /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option + says where to find X windows at run time. */ +@@ -198,7 +198,7 @@ + #define LIBS_DEBUG + #undef LIB_GCC + #define LIB_GCC +-#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o ++#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o + + /* Don't use -g in test compiles in configure. + This is so we will use the same shared libs for that linking |