diff options
Diffstat (limited to 'make/compilers')
-rw-r--r-- | make/compilers/gcc-target-default.cfg | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index c1b27435dc..0b758f1b53 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -188,19 +188,12 @@ ${ARCH}/%.o: %.c ${ARCH}/%.o: %.cc ${COMPILE.cc} -o $@ $< -${ARCH}/%.o: %.S - ${COMPILE.c} -DASM -o $@ $< - # strip out C++ style comments. -${ARCH}/%.o: %.s +${ARCH}/%.o: %.S sed -e 's/\/\/.*$$//' < $< | \ $(CPP) $(ASMFLAGS) -I. -I$(srcdir) -DASM - >$(ARCH)/$*.i $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i -# $(CPP) $(CPPFLAGS) -DASM - < $< >$(ARCH)/$*.i -# $(AS) $(ASFLAGS) -o $@ $(ARCH)/$*.i -# $(RM) $(ARCH)/$*.i - # Specify our own default rule for this to prevent having CFLAGS and # CPPFLAGS being passed to linker # |