mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-25 05:47:12 +00:00
Remove hard-code compiler flags.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user