glibc/sysdeps/powerpc/powerpc32/Makefile
Luis Machado a72cc2b29d Enable optimized string routines for several PowerPC 4XX family processors.
This patch provides optimized string routines for the 4XX family of PowerPC
and Power Architecture processors.  For the 476 processor, it can be
configured for either hard-fp with -mcpu=476 --with-fp, or for soft-fp with
-mcpu=476 (since the default is soft-fp).
2011-01-12 12:59:09 -06:00

9 lines
260 B
Makefile

# 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