From fca64dbda173bb6ef2f8dd5fb436751677657ab2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Wed, 1 Aug 2012 00:20:52 -0700 Subject: [PATCH] Tweak FreeBSD LIB_STANDARD, START_FILES * configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]: Don't include crtbegin.o and crtend.o. Fixes: debbugs:12047 --- ChangeLog | 5 +++++ configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 ) -- 2.39.2