Remove hard-code compiler flags.

This commit is contained in:
Ralf Corsepius
2006-11-14 02:43:13 +00:00
parent 72fbdbbeaf
commit aac2fff58b

View File

@@ -22,13 +22,13 @@ CFLAGS_OPTIMIZE_V= -O4 -g
# will be able to override parts of the compilers specs and link using gcc. # will be able to override parts of the compilers specs and link using gcc.
define make-exe define make-exe
$(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS) $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe $(SIZE) $(basename $@).nxe
endef endef
define make-cxx-exe define make-cxx-exe
$(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -o $(basename $@).nxe \ $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
$(LINK_OBJS) $(LINK_LIBS) $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
$(SIZE) $(basename $@).nxe $(SIZE) $(basename $@).nxe