From: Ulrich Müller Date: Wed, 1 Aug 2012 07:20:52 +0000 (-0700) Subject: Tweak FreeBSD LIB_STANDARD, START_FILES X-Git-Tag: emacs-24.2.90~932 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fca64dbda173bb6ef2f8dd5fb436751677657ab2;p=emacs.git Tweak FreeBSD LIB_STANDARD, START_FILES * configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]: Don't include crtbegin.o and crtend.o. Fixes: debbugs:12047 --- diff --git a/ChangeLog b/ChangeLog index e4f3ddd577a..b3d94b5df10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-01 Ulrich Müller + + * configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]: + Don't include crtbegin.o and crtend.o. (Bug#12047) + 2012-08-01 Glenn Morris * configure.ac (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC) diff --git a/configure.ac b/configure.ac index 74b8549eef4..25003c2bdc1 100644 --- a/configure.ac +++ b/configure.ac @@ -982,8 +982,8 @@ case $opsys in START_FILES='pre-crt0.o' ;; freebsd ) - LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' - START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' + LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o' + START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o' SYSTEM_TYPE=berkeley-unix ;; gnu-linux | gnu-kfreebsd )