diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-21 19:41:57 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-09-21 19:41:57 +0000 |
commit | 17ab889ed12ac34f38d602998a55470645814324 (patch) | |
tree | 84dd9304692d8436441734b7b1b8432b0738db4e /libc/sysdeps/linux/sh/Makefile | |
parent | d804ea044c6bc567cb078bfa63e69bc3906f0fc6 (diff) |
Fix "subst -g,," problem for SAFECFLAGS.
Diffstat (limited to 'libc/sysdeps/linux/sh/Makefile')
-rw-r--r-- | libc/sysdeps/linux/sh/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile index 9a4560336..758d4462d 100644 --- a/libc/sysdeps/linux/sh/Makefile +++ b/libc/sysdeps/linux/sh/Makefile @@ -57,7 +57,7 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o ifeq ($(strip $(UCLIBC_PROFILING)),y) -SAFECFLAGS := $(subst -g,,$(CFLAGS)) +SAFECFLAGS := $(filter-out -g,$(CFLAGS)) gmon-start.S: ../common/gmon-start.c $(CC) $(SAFECFLAGS) -c $< -S -o $*.S gcrt1.o: $(CRT0_DEPS) |