[git commit] buildsys: refine compile.S
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Aug 29 19:06:18 UTC 2014
commit: http://git.uclibc.org/uClibc/commit/?id=5c0c667fb21c74b4a9ac0554418a553bf1e11c1c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
filter out all -std=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Makerules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makerules b/Makerules
index 520b47d..05d9548 100644
--- a/Makerules
+++ b/Makerules
@@ -240,7 +240,7 @@ cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) \
cmd_compile.i = $(cmd_compile.c:-c=-E -dD) $(UCLIBC_EXTRA_CPPFLAGS)
cmd_compile.s = $(cmd_compile.c:-c=-S)
cmd_compile.u = $(CC) $^ $(DEPS-$(notdir $@)) -o $@ $(CFLAGS) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(notdir $@)) $(CFLAGS_gen.dep)
-cmd_compile.S = $(filter-out -std=gnu99, $(cmd_compile.c)) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
+cmd_compile.S = $(filter-out -std=%, $(cmd_compile.c)) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
cmd_compile.m = $(cmd_compile.c) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
cmd_compile.mi= $(cmd_compile.m:-c=-E -dD) $(UCLIBC_EXTRA_CPPFLAGS)
More information about the uClibc-cvs
mailing list