From 264aaaeeb5a5e49dbc6bdc399824786ea1d8fea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 31 May 2012 01:04:09 +0200 Subject: [PATCH] Sam460ex: force using hardware floating point * our current gcc can't be built with multilib for ppc anyway, * this allows going further on real hardware, though dprintf() sends wrong data to the serial port. --- build/jam/board/sam460ex/BoardSetup | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build/jam/board/sam460ex/BoardSetup b/build/jam/board/sam460ex/BoardSetup index 45b1c9372c..40884c79dd 100644 --- a/build/jam/board/sam460ex/BoardSetup +++ b/build/jam/board/sam460ex/BoardSetup @@ -28,8 +28,10 @@ HAIKU_BOARD_LOADER_STACK_BASE = 0x02000000 ; # gcc flags for the specific cpu # -HAIKU_KERNEL_CCFLAGS += -mcpu=440 -mtune=440 -msoft-float ; -HAIKU_KERNEL_C++FLAGS += -mcpu=440 -mtune=440 -msoft-float ; -HAIKU_CCFLAGS += -mcpu=440 -mtune=440 -msoft-float ; -HAIKU_C++FLAGS += -mcpu=440 -mtune=440 -msoft-float ; +HAIKU_KERNEL_PIC_CCFLAGS += -mcpu=440fp -mtune=440fp ; +HAIKU_KERNEL_PIC_C++FLAGS += -mcpu=440fp -mtune=440fp ; +HAIKU_KERNEL_CCFLAGS += -mcpu=440fp -mtune=440fp ; +HAIKU_KERNEL_C++FLAGS += -mcpu=440fp -mtune=440fp ; +HAIKU_CCFLAGS += -mcpu=440fp -mtune=440fp ; +HAIKU_C++FLAGS += -mcpu=440fp -mtune=440fp ;