diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 13:03:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 13:03:19 +0000 |
commit | 75443475a4df552e282cf3471a1d7838bd675294 (patch) | |
tree | 87fed06389e09ed705303d50002233499ef84b83 /Makerules | |
parent | fd9ddddb9009221c3e374d820b9854109ae825f6 (diff) |
Enable -std=c99 if supported, this will define __STDC_VERSION__, have to -D__ASSEMBLER__, bug in all gcc
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ disp_ar = $($(DISP)_disp_ar) disp_ld = $($(DISP)_disp_ld) cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(subst $(top_srcdir),,$(dir $<))) $(CFLAGS-$(notdir $<)) $(CFLAGS-$(notdir $@)) -cmd_compile.S = $(cmd_compile.c) $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@)) +cmd_compile.S = $(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_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) $(CFLAGS-multi-y) |