⛏️ index : buildtools.git

author Ithamar R. Adema <ithamar.adema@team-embedded.nl> 2012-11-22 20:03:52.0 +01:00:00
committer Ithamar R. Adema <ithamar.adema@team-embedded.nl> 2012-11-22 20:06:49.0 +01:00:00
commit
85c4a8cee1811928616791a2a2972fe944b217cf [patch]
tree
2a05326e134222122bf42e882a5b2d95a1ff5a79
parent
ed0528aef00e31315839ae0125c42ccab036159e
download
85c4a8cee1811928616791a2a2972fe944b217cf.tar.gz

ARM/gcc4: fixup ARM configuration to more closely match x86

Turned out that our ARM gcc4 build used short-enum's, which made
our build fail (specifically, src/kits/tracker/ViewState.cpp:122).

Thanks to Landon Fuller and Oliver Tappe for helping me figure
the fix out!

Diff

 gcc/gcc/config/arm/haiku.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/gcc/config/arm/haiku.h b/gcc/gcc/config/arm/haiku.h
index 776da36..5fd59fb 100644
--- a/gcc/gcc/config/arm/haiku.h
+++ a/gcc/gcc/config/arm/haiku.h
@@ -28,8 +28,12 @@
#undef  TARGET_DEFAULT_FLOAT_ABI
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT

/* We default to the "aapcs-linux" ABI so that enums are int-sized by
   default.  */
#undef  ARM_DEFAULT_ABI
#define ARM_DEFAULT_ABI ARM_ABI_AAPCS_LINUX

/* bpabi.h sets FPUTYPE_DEFAULT to VFP */
/* bpabi.h sets ARM_DEFAULT_ABI */

#undef  MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \