Disable multilib for the ARM compiler build.
* This avoids mixup of the soft/hard float libs * It also means we can use the hard-float libs for targets that supports it * Again, we could introduce an arm_softfp compiler for targets that don't have floating point support, with a different gcc build.
This commit is contained in:
@@ -63,8 +63,8 @@ HAIKU_BOARD_SDIMAGE_FILES =
|
|||||||
#
|
#
|
||||||
|
|
||||||
HAIKU_ASFLAGS_$(HAIKU_PACKAGING_ARCH)
|
HAIKU_ASFLAGS_$(HAIKU_PACKAGING_ARCH)
|
||||||
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=hard ;
|
||||||
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
|
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
|
||||||
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=hard ;
|
||||||
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
|
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
|
||||||
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=hard ;
|
||||||
|
|||||||
@@ -33,8 +33,9 @@ m68k-*)
|
|||||||
gccConfigureArgs="--enable-multilib"
|
gccConfigureArgs="--enable-multilib"
|
||||||
;;
|
;;
|
||||||
arm-*)
|
arm-*)
|
||||||
binutilsConfigureArgs="--enable-multilib"
|
# Multilib creates a lot of confusion as the wrong libs end up being linked.
|
||||||
gccConfigureArgs="--enable-multilib"
|
binutilsConfigureArgs="--disable-multilib --with-float=hard"
|
||||||
|
gccConfigureArgs="--disable-multilib --with-float=hard"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
binutilsConfigureArgs="--disable-multilib"
|
binutilsConfigureArgs="--disable-multilib"
|
||||||
|
|||||||
Reference in New Issue
Block a user