Do not use -m32 option to find generic gcc library

This commit is contained in:
Pierre Muller 2022-03-07 23:41:44 +00:00
parent ad2ac98858
commit 6d26d56f2f
2 changed files with 394 additions and 370 deletions

File diff suppressed because it is too large Load Diff

View File

@ -910,12 +910,12 @@ endif
#CPU_TARGET=mips,mipsel
ifeq ($(BINUTILSPREFIX),)
ifeq ($(GCCLIBDIR),)
GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`)
GCCLIBDIR:=$(shell dirname `gcc -print-libgcc-file-name`)
endif
#GCCLIBDIR=
else
ifeq ($(CROSSGCCOPT),)
CROSSGCCOPT=-m32
CROSSGCCOPT=-g
endif
#CROSSGCCOPT=
endif