Skip to content

Commit

Permalink
Makefile.defs: gcc 5.2 option -mfp32 is required by -march=r3000 for …
Browse files Browse the repository at this point in the history
…mips arch

- reported by Victor Seva, GH#394

(cherry picked from commit b2ff274)
  • Loading branch information
miconda committed Nov 11, 2015
1 parent b5d19f2 commit 22e4556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.defs
Expand Up @@ -1272,7 +1272,7 @@ ifeq ($(CC_NAME), gcc)
CFLAGS=$(CC_OPT) -funroll-loops $(PROFILE)
#if gcc 5.0+, 4.5+ or 4.2+
ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+,$(CC_SHORTVER))))
CFLAGS+=-march=r3000 \
CFLAGS+=-mfp32 -march=r3000 \
-ftree-vectorize -fno-strict-overflow
# not supported on mips: -minline-all-stringops
else
Expand Down

0 comments on commit 22e4556

Please sign in to comment.