From 5b42ae41cbef45d89d615b566d5eef2469496240 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Sat, 23 Dec 2006 05:54:19 +0000 Subject: [PATCH] t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add -mmacosx-version-min=10.4. * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add -mmacosx-version-min=10.4. (crt2.o): Add $(DARWIN_EXTRA_CRT_BUILD_CFLAGS). From-SVN: r120167 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/t-darwin | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be8a3f568be..c8847eb8031 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-12-22 Mike Stump + + * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add + -mmacosx-version-min=10.4. + (crt2.o): Add $(DARWIN_EXTRA_CRT_BUILD_CFLAGS). + 2006-12-23 Jan Hubicka * tree-flow-inline.h (var_ann): External variable annotations are diff --git a/gcc/config/rs6000/t-darwin b/gcc/config/rs6000/t-darwin index 3513d5280f0..7ad4b8f5182 100644 --- a/gcc/config/rs6000/t-darwin +++ b/gcc/config/rs6000/t-darwin @@ -8,7 +8,7 @@ LIB2FUNCS_STATIC_EXTRA = \ $(srcdir)/config/rs6000/darwin-vecsave.asm \ $(srcdir)/config/rs6000/darwin-world.asm -DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall +DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall -mmacosx-version-min=10.4 # The .asm files above are designed to run on all processors, # even though they use AltiVec instructions. -Wa is used because @@ -34,4 +34,5 @@ darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h $(T)crt2$(objext): $(srcdir)/config/darwin-crt2.c $(GCC_PASSES) \ $(TCONFIG_H) stmp-int-hdrs tsystem.h $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \ + $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \ -c $(srcdir)/config/darwin-crt2.c -o $(T)crt2$(objext)