13 lines
1.1 KiB
Diff
13 lines
1.1 KiB
Diff
|
diff -ur uClibc-0.9.29/Makerules uClibc-0.9.29-patched/Makerules
|
||
|
--- uClibc-0.9.29/Makerules 2006-12-10 18:25:23.000000000 -0600
|
||
|
+++ uClibc-0.9.29-patched/Makerules 2008-01-26 17:04:50.965699518 -0600
|
||
|
@@ -96,7 +96,7 @@
|
||
|
disp_ld = $($(DISP)_disp_ld)
|
||
|
|
||
|
cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(filter-out $(CFLAGS-OMIT-$(notdir $<)),$(CFLAGS-$(notdir $(^D)))) $(CFLAGS-$(subst $(top_srcdir),,$(dir $<))) $(CFLAGS-$(notdir $<)) $(CFLAGS-$(notdir $@))
|
||
|
-cmd_compile.S = $(cmd_compile.c) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
|
||
|
+cmd_compile.S = $(filter-out -std=gnu99, $(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-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@))
|
||
|
cmd_strip = $(STRIPTOOL) $(STRIP_FLAGS) $^
|