about summary refs log tree commit diff
path: root/ports/sysdeps/powerpc/powerpc32/Makefile
blob: 3d235deeb91330f614a83d2b21821f62a4ce38a7 (plain) (blame)
1
2
3
4
5
6
7
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