mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
Add crtbeginS.o and crtendS.o to configure.in, too.
This commit is contained in:
parent
4947d64591
commit
937988f044
@ -306,10 +306,10 @@ AC_CANONICAL_SYSTEM
|
||||
# Find the native compiler
|
||||
AC_PROG_CC
|
||||
|
||||
# If the native compiler is GCC, we can enable warnings even in stage1.
|
||||
# If the native compiler is GCC, we can enable warnings even in stage1.
|
||||
# That's useful for people building cross-compilers, or just running a
|
||||
# quick `make'.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
if test "x$GCC" = "xyes"; then
|
||||
stage1_warn_cflags='$(WARN_CFLAGS)'
|
||||
else
|
||||
stage1_warn_cflags=""
|
||||
@ -424,7 +424,7 @@ GCC_NEED_DECLARATIONS(getrlimit setrlimit, [
|
||||
|
||||
AC_DECL_SYS_SIGLIST
|
||||
|
||||
# mkdir takes a single argument on some systems.
|
||||
# mkdir takes a single argument on some systems.
|
||||
GCC_FUNC_MKDIR_TAKES_ONE_ARG
|
||||
|
||||
# File extensions
|
||||
@ -528,7 +528,7 @@ changequote([,])dnl
|
||||
|
||||
tm_file=${cpu_type}/${cpu_type}.h
|
||||
xm_file=${cpu_type}/xm-${cpu_type}.h
|
||||
|
||||
|
||||
# Common parts for linux-gnu and openbsd systems
|
||||
case $machine in
|
||||
*-*-linux-gnu*)
|
||||
@ -537,7 +537,7 @@ changequote([,])dnl
|
||||
*-*-openbsd*)
|
||||
tm_file=${cpu_type}/openbsd.h
|
||||
tmake_file="t-libc-ok t-openbsd"
|
||||
# avoid surprises, always provide an xm-openbsd file
|
||||
# avoid surprises, always provide an xm-openbsd file
|
||||
xm_file=${cpu_type}/xm-openbsd.h
|
||||
# don't depend on processor x-fragments as well
|
||||
xmake_file=none
|
||||
@ -650,7 +650,7 @@ changequote([,])dnl
|
||||
target_cpu_default="MASK_GAS"
|
||||
tmake_file="alpha/t-ieee"
|
||||
;;
|
||||
|
||||
|
||||
alpha*-dec-osf*)
|
||||
if test x$stabs = xyes
|
||||
then
|
||||
@ -809,7 +809,7 @@ changequote([,])dnl
|
||||
arm*-*-ecos-elf)
|
||||
tm_file=arm/ecos-elf.h
|
||||
tmake_file=arm/t-elf
|
||||
;;
|
||||
;;
|
||||
arm*-*-elf)
|
||||
tm_file=arm/unknown-elf.h
|
||||
tmake_file=arm/t-arm-elf
|
||||
@ -835,7 +835,7 @@ changequote([,])dnl
|
||||
use_collect2=yes
|
||||
;;
|
||||
c38-convex-*)
|
||||
target_cpu_default=16
|
||||
target_cpu_default=16
|
||||
use_collect2=yes
|
||||
;;
|
||||
c4x-*)
|
||||
@ -1182,7 +1182,7 @@ changequote([,])dnl
|
||||
tm_file=i386/haiku.h
|
||||
xmake_file=i386/x-haiku
|
||||
extra_objs=winnt.o
|
||||
extra_parts='crtbegin.o crtend.o'
|
||||
extra_parts='crtbegin.o crtbeginS.o crtend.o crtendS.o'
|
||||
fixincludes=Makefile.in
|
||||
float_format=i386
|
||||
;;
|
||||
@ -1291,8 +1291,8 @@ changequote(,)dnl
|
||||
i[34567]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
|
||||
changequote([,])dnl # with ELF format using the
|
||||
# GNU/Linux C library 5
|
||||
xmake_file=x-linux
|
||||
tm_file=i386/linux.h
|
||||
xmake_file=x-linux
|
||||
tm_file=i386/linux.h
|
||||
tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
|
||||
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
gnu_ld=yes
|
||||
@ -3425,7 +3425,7 @@ changequote([,])dnl
|
||||
target_cpu_default2="MASK_CPU_EV5"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
if test x$gas = xyes
|
||||
then
|
||||
if test "$target_cpu_default2" = ""
|
||||
@ -3693,7 +3693,7 @@ null_defines=
|
||||
host_xm_file="auto-host.h gansidecl.h ${host_xm_file} hwint.h"
|
||||
|
||||
# If host=build, it is correct to have hconfig include auto-host.h
|
||||
# as well. If host!=build, we are in error and need to do more
|
||||
# as well. If host!=build, we are in error and need to do more
|
||||
# work to find out the build config parameters.
|
||||
if test x$host = x$build
|
||||
then
|
||||
@ -3702,7 +3702,7 @@ else
|
||||
# We create a subdir, then run autoconf in the subdir.
|
||||
# To prevent recursion we set host and build for the new
|
||||
# invocation of configure to the build for this invocation
|
||||
# of configure.
|
||||
# of configure.
|
||||
tempdir=build.$$
|
||||
rm -rf $tempdir
|
||||
mkdir $tempdir
|
||||
@ -4341,7 +4341,7 @@ fi
|
||||
AC_SUBST(build_canonical)
|
||||
AC_SUBST(host_canonical)
|
||||
AC_SUBST(target_subdir)
|
||||
|
||||
|
||||
# If this is using newlib, then define inhibit_libc in
|
||||
# LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
|
||||
# libgcc.a, but that's OK because newib should have its own version of
|
||||
|
Loading…
Reference in New Issue
Block a user