summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-25 06:35:29 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-25 06:35:29 +0000
commit9f9350ab90cd4f2f27655866871b11b23f14ac9e (patch)
treec484a032f473828ce55b9a5a297bd231458ee686 /libc/sysdeps/linux/powerpc/Makefile
parent4cc7fb45c19d2dd6f3274f391cb466ec9c99a355 (diff)
properly deal with soft-float when profiling as well
Diffstat (limited to 'libc/sysdeps/linux/powerpc/Makefile')
-rw-r--r--libc/sysdeps/linux/powerpc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile
index 39432a0ef..862444781 100644
--- a/libc/sysdeps/linux/powerpc/Makefile
+++ b/libc/sysdeps/linux/powerpc/Makefile
@@ -59,6 +59,9 @@ $(COBJS): %.o : %.c
ifeq ($(strip $(UCLIBC_PROFILING)),y)
SAFECFLAGS := $(filter-out -g,$(CFLAGS))
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
gmon-start.S: ../common/gmon-start.c
$(CC) $(SAFECFLAGS) -c $< -S -o $*.S
gcrt1.o: $(CRT0_DEPS)