[MIPS] Allow united mipsel and mips64el gcc toolchain

Explicitly tell 32-bit links that they are doing 32-bit links.
This is needed when using united 32-bit and 64-bit toolchains.
This is harmless when using older separate 32-only toolchains.

(cherry picked from commit f541650828)

Change-Id: I8df0ee7d36c6409458e18bea4e0e8b132edf77dc
This commit is contained in:
Duane Sand 2014-07-16 12:29:34 -07:00 committed by Elliott Hughes
parent 2582f02a01
commit 5d7775c6df

View File

@ -83,3 +83,6 @@ libc_crt_target_crtbegin_so_file_mips := \
libc_crt_target_so_cflags_mips := \
-fPIC
libc_crt_target_ldflags_mips := \
-melf32ltsmip