diff options
Diffstat (limited to 'ports/sysdeps/powerpc/powerpc32/Makefile')
-rw-r--r-- | ports/sysdeps/powerpc/powerpc32/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/sysdeps/powerpc/powerpc32/Makefile b/ports/sysdeps/powerpc/powerpc32/Makefile new file mode 100644 index 0000000000..3d235deeb9 --- /dev/null +++ b/ports/sysdeps/powerpc/powerpc32/Makefile @@ -0,0 +1,8 @@ +# Some Powerpc32 variants assume soft-fp is the default even though there is +# an fp variant so provide -mhard-float if --with-fp is explicitly passed. + +ifeq ($(with-fp),yes) ++cflags += -mhard-float +ASFLAGS += -mhard-float +sysdep-LDFLAGS += -mhard-float +endif |