glibc: Pass correct -mabi for MIPS
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 25 Sep 2013 15:00:57 +0000 (16:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Oct 2013 21:58:52 +0000 (23:58 +0200)
commit3dfa23fcc2d54e75eb80d14fc2b0045a3a24c355
tree3a930fe9daf5075182c433823d77ad489fb0fbb5
parentc07f1ce0ec8a75aeed67c0991a10106e79f22323
glibc: Pass correct -mabi for MIPS

According to glibc-2.18/ports/sysdeps/mips/preconfigure,
if no -mabi was passed to CFLAGS, then it defaults to -mabi=n32.
This breaks o32 and n64 builds for MIPS64. Therefore, it is
necessary to append -mabi to CFLAGS.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/glibc/glibc.mk