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:
parent
bfcb02267b
commit
b8058ea8ee
@ -63,8 +63,8 @@ HAIKU_BOARD_SDIMAGE_FILES =
|
||||
#
|
||||
|
||||
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)
|
||||
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
|
||||
+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=hard ;
|
||||
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"
|
||||
;;
|
||||
arm-*)
|
||||
binutilsConfigureArgs="--enable-multilib"
|
||||
gccConfigureArgs="--enable-multilib"
|
||||
# Multilib creates a lot of confusion as the wrong libs end up being linked.
|
||||
binutilsConfigureArgs="--disable-multilib --with-float=hard"
|
||||
gccConfigureArgs="--disable-multilib --with-float=hard"
|
||||
;;
|
||||
*)
|
||||
binutilsConfigureArgs="--disable-multilib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user