[ARM] 3484/1: Correct AEABI CFLAGS for correct enum handling
authorRichard Purdie <rpurdie@rpsys.net>
Tue, 25 Apr 2006 19:36:04 +0000 (20:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Apr 2006 19:36:04 +0000 (20:36 +0100)
commitc7fd84424f919740880d989cb0459c332da96013
treeb487783c3f02ea45a2248710a46e2f94e71910b9
parent454ac778459bc70f0a9818a6a8fd974ced11de66
[ARM] 3484/1: Correct AEABI CFLAGS for correct enum handling

Patch from Richard Purdie

The AAPCS says that enums can be variably sized depending on the range
of valid values. This is not the accepted behaviour under linux so for
compatibility gcc has an aapcs-linux target, the main difference being
that enums are always of type int. Change the ARM Makefile to use this
target.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Makefile