* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Add
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Dec 2006 05:54:19 +0000 (05:54 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Dec 2006 05:54:19 +0000 (05:54 +0000)
        -mmacosx-version-min=10.4.
        (crt2.o): Add $(DARWIN_EXTRA_CRT_BUILD_CFLAGS).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120167 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/t-darwin

index be8a3f5..c8847eb 100644 (file)
@@ -1,3 +1,9 @@
+2006-12-22  Mike Stump  <mrs@apple.com>
+
+       * 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  <jh@suse.cz>
 
        * tree-flow-inline.h (var_ann): External variable annotations are
index 3513d52..7ad4b8f 100644 (file)
@@ -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)