Browse Source

Do not use -m32 option to find generic gcc library

Pierre Muller 3 years ago
parent
commit
6d26d56f2f
2 changed files with 205 additions and 178 deletions
  1. 203 176
      utils/fpcm/fpcmake.inc
  2. 2 2
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 203 - 176
utils/fpcm/fpcmake.inc


+ 2 - 2
utils/fpcm/fpcmake.ini

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

Some files were not shown because too many files changed in this diff