diff options
Diffstat (limited to 'sysdeps/mips/Makefile')
-rw-r--r-- | sysdeps/mips/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/mips/Makefile b/sysdeps/mips/Makefile index 463b121..3d35523 100644 --- a/sysdeps/mips/Makefile +++ b/sysdeps/mips/Makefile @@ -42,17 +42,23 @@ fpabi-modules-names += tst-abi-fpxxmod CFLAGS-tst-abi-fpxxmod.c += -mfpxx -mno-odd-spreg endif ifneq (,$(filter $(o32-fpabi),xx xxo)) +ifeq ($(has-modd-spreg),yes) fpabi-modules-names += tst-abi-fpxxomod CFLAGS-tst-abi-fpxxomod.c += -mfpxx -modd-spreg endif +endif ifneq (,$(filter $(o32-fpabi),xx 64a)) +ifeq ($(has-mpf64),yes) fpabi-modules-names += tst-abi-fp64amod CFLAGS-tst-abi-fp64amod.c += -mfp64 -mno-odd-spreg endif +endif ifneq (,$(filter $(o32-fpabi),xx xxo 64a 64)) +ifeq ($(has-mpf64)-$(has-modd-spreg),yes-yes) fpabi-modules-names += tst-abi-fp64mod CFLAGS-tst-abi-fp64mod.c += -mfp64 -modd-spreg endif +endif modules-names += $(fpabi-modules-names) comma:=, |