Explorar o código

fix build for mips64el

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
29d2f64bcc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      toolchain/musl/Makefile

+ 3 - 0
toolchain/musl/Makefile

@@ -9,6 +9,9 @@ include ${TOPDIR}/mk/buildhlp.mk
 ifeq ($(CPU_ARCH),ppc)
 REAL_GNU_TARGET_NAME:= $(subst ppc,powerpc,$(REAL_GNU_TARGET_NAME))
 endif
+ifeq ($(CPU_ARCH),mips64el)
+REAL_GNU_TARGET_NAME:= $(subst mips64el,mips,$(REAL_GNU_TARGET_NAME))
+endif
 
 $(WRKBUILD)/.headers:
 	(cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' \