Permalink
Browse files

* src/s/gnu-linux.h: Use CRT_DIR.

  • Loading branch information...
1 parent efd1aee commit c0d3b2750fb9d87d7ffea6df2873f4eb6997c8c6 @zwenna zwenna committed with Chong Yidong Jan 12, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 src/ChangeLog
  2. +2 −2 src/s/gnu-linux.h
View
@@ -1,3 +1,7 @@
+2012-01-12 Sven Joachim <svenjoac@gmx.de>
+
+ * s/gnu-linux.h: Use CRT_DIR.
+
2011-11-11 Johan Bockgård <bojohan@gnu.org>
* xdisp.c (fill_composite_glyph_string): Always set s->face, to
View
@@ -168,7 +168,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* 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://www.gnu.org/licenses/>. */
#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

0 comments on commit c0d3b27

Please sign in to comment.