Commit 3ef27559 by Jack Howarth Committed by Uros Bizjak

re PR target/34025 (Warning when compiling with -m64 -ffast-math on Intel Darwin)

        PR target/34025
        * config/i386/t-crtpc: Add $(MULTILIB_CFLAGS).
        * config/i386/t-crtfm: Likewise.

From-SVN: r130998
parent ce998900
2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/34025
* config/i386/t-crtpc: Add $(MULTILIB_CFLAGS).
* config/i386/t-crtfm: Likewise.
2007-12-17 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (WIDEST_HARDWARE_FP_SIZE): Define.
......@@ -2,6 +2,7 @@ EXTRA_PARTS += crtfastmath.o
$(T)crtfastmath.o: $(srcdir)/config/i386/crtfastmath.c \
$(srcdir)/config/i386/cpuid.h $(GCC_PASSES)
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -msse -minline-all-stringops -c \
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(MULTILIB_CFLAGS) \
-msse -minline-all-stringops -c \
$(srcdir)/config/i386/crtfastmath.c \
-o $(T)crtfastmath$(objext)
EXTRA_PARTS += crtprec32.o crtprec64.o crtprec80.o
$(T)crtprec32.o: $(srcdir)/config/i386/crtprec.c $(GCC_PASSES)
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -D__PREC=32 -c \
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(MULTILIB_CFLAGS) -D__PREC=32 -c \
$(srcdir)/config/i386/crtprec.c \
-o $(T)crtprec32$(objext)
$(T)crtprec64.o: $(srcdir)/config/i386/crtprec.c $(GCC_PASSES)
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -D__PREC=64 -c \
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(MULTILIB_CFLAGS) -D__PREC=64 -c \
$(srcdir)/config/i386/crtprec.c \
-o $(T)crtprec64$(objext)
$(T)crtprec80.o: $(srcdir)/config/i386/crtprec.c $(GCC_PASSES)
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -D__PREC=80 -c \
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(MULTILIB_CFLAGS) -D__PREC=80 -c \
$(srcdir)/config/i386/crtprec.c \
-o $(T)crtprec80$(objext)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment