aboutsummaryrefslogtreecommitdiff
blob: 7444c337cc68ee2b05d78cb4774b8af82af34821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix linking on FreeBSD.
http://debbugs.gnu.org/12047

--- emacs-24.1-orig/configure.in
+++ emacs-24.1/configure.in
@@ -1009,8 +1009,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'
     ;;
   gnu-linux | gnu-kfreebsd )
     LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o'