* applied patch by VinDuv that allows to build the legacy buildtools on Mac OS X
  - thanks!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2010-08-30 16:07:21 +00:00
parent 3019b27ced
commit b4eb6056d7
4 changed files with 15 additions and 3 deletions

View File

@ -141,9 +141,9 @@ M4 = `if [ -f $$r/m4/m4 ] ; \
then echo $$r/m4/m4 ; \
else echo ${DEFAULT_M4} ; fi`
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
then echo $$r/texinfo/makeinfo/makeinfo ; \
else echo makeinfo ; fi`
MAKEINFO = `if [ -x /usr/bin/makeinfo ] ; \
then echo makeinfo ; \
else echo $$r/texinfo/makeinfo/makeinfo ; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still

View File

@ -139,7 +139,9 @@ const int x86_deep_branch = m_PPRO| m_K6;
#define AT_BP(mode) (gen_rtx_MEM ((mode), frame_pointer_rtx))
extern FILE *asm_out_file;
#ifndef __APPLE__
extern char *strcat ();
#endif
static void ix86_epilogue PROTO((int));
static void ix86_prologue PROTO((int));

View File

@ -3597,6 +3597,10 @@ for machine in $build $host $target; do
tm_file=i386/freebsd.h
tmake_file=t-freebsd
;;
i[34567]86-*-darwin*)
tm_file=i386/freebsd.h
tmake_file=t-freebsd
;;
i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h
tmake_file=t-netbsd

View File

@ -1205,6 +1205,12 @@ changequote([,])dnl
tm_file=i386/freebsd.h
tmake_file=t-freebsd
;;
changequote(,)dnl
i[34567]86-*-darwin*)
changequote([,])dnl
tm_file=i386/freebsd.h
tmake_file=t-freebsd
;;
changequote(,)dnl
i[34567]86-*-netbsd*)
changequote([,])dnl