--- emacs-orig/ChangeLog +++ emacs/ChangeLog @@ -1,3 +1,8 @@ +2012-07-27 Ulrich Müller + + * configure.ac (LIB_STANDARD, START_FILES): On FreeBSD, don't + include crtbegin.o and crtend.o in the link (Bug#12047). + 2012-07-17 Dmitry Antipov Fix toolkit configuration report. --- emacs-orig/configure.ac +++ emacs/configure.ac @@ -987,8 +987,8 @@ 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 )