[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Security flaw in EDE; new release plans
From: |
Sven Joachim |
Subject: |
Re: Security flaw in EDE; new release plans |
Date: |
Tue, 10 Jan 2012 08:51:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
The following patch (committed on the trunk in revision 100042) is
necessary for the "--with-crt-dir=" configure option to actually work
and let Emacs build on current Debian/Ubuntu systems:
--8<---------------cut here---------------start------------->8---
=== modified file 'src/s/gnu-linux.h'
--- src/s/gnu-linux.h 2011-01-02 23:50:46 +0000
+++ src/s/gnu-linux.h 2011-07-27 14:36:13 +0000
@@ -168,7 +168,7 @@ along with GNU Emacs. If not, see <http
/* 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 @@ along with GNU Emacs. If not, see <http
#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
--8<---------------cut here---------------end--------------->8---
See http://bugs.debian.org/629567 for details.
Cheers,
Sven