diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 05:05:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 05:05:03 +0000 |
commit | 6f65ac296a885b9364016046e1c0160dfef812b1 (patch) | |
tree | d0bebcdf707697a28e4e174e6ed6492c67b3146a /Rules.mak | |
parent | 2fe4731b98c38a3dcb57d412b1c571428d95d7d2 (diff) |
Joseph S. Myers writes:
I needed this patch setting CPU_LDFLAGS to build uClibc for little-endian
MIPS (with a compiler with both little-endian and big-endian multilibs);
otherwise it used ld (in default big-endian mode) to link little-endian
objects.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -166,6 +166,8 @@ ifeq ($(TARGET_ARCH),arm) endif ifeq ($(TARGET_ARCH),mips) + CPU_LDFLAGS-$(ARCH_LITTLE_ENDIAN)+=-EL + CPU_LDFLAGS-$(ARCH_BIG_ENDIAN)+=-EB CPU_CFLAGS-$(CONFIG_MIPS_ISA_1)+=-mips1 CPU_CFLAGS-$(CONFIG_MIPS_ISA_2)+=-mips2 -mtune=mips2 CPU_CFLAGS-$(CONFIG_MIPS_ISA_3)+=-mips3 -mtune=mips3 |