From 8062f49f1cc38cf65540e267c9d4f9adb31e218e Mon Sep 17 00:00:00 2001 From: Thomas Frieden Date: Thu, 7 Oct 2004 11:03:46 +0000 Subject: [PATCH] Fixes for compiler errors with soft-float git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14749 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/GNUmakefile.os4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/GNUmakefile.os4 b/library/GNUmakefile.os4 index 2fe0f71..734a50e 100644 --- a/library/GNUmakefile.os4 +++ b/library/GNUmakefile.os4 @@ -1,5 +1,5 @@ # -# $Id: GNUmakefile.os4,v 1.11 2004-10-07 09:20:44 obarthel Exp $ +# $Id: GNUmakefile.os4,v 1.12 2004-10-07 11:03:46 tfrieden Exp $ # # :ts=8 # @@ -65,7 +65,7 @@ $(LIBUNIX_OBJS)/%.o : %.c $(LIBM_OBJS)/%.o : %.c @echo "Compiling $< [$(TYPE):m]" - @$(CC) -o $(LIBM_OBJS)/$*.o -c $(CFLAGS) -DPPC_FLOATING_POINT_SUPPORT $< + @$(CC) -o $(LIBM_OBJS)/$*.o -c $(CFLAGS) $(FLOAT_TYPE) $< $(LIBSTACK_OBJS)/%.o : %.c @echo "Compiling $< [$(TYPE):stack]" @@ -87,14 +87,17 @@ $(LIBAMIGA_OBJS)/%.o : %.c ifeq (small_data,$(TYPE)) CODE_TYPE := -msdata=sysv -DSMALL_DATA +FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT endif ifeq (large_data,$(TYPE)) CODE_TYPE := -msdata=data +FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT endif ifeq (large_data_softfloat, $(TYPE)) CODE_TYPE := -msdata=data -msoft-float +FLOAT_TYPE := endif ##############################################################################