mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +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.
|
||||
|
||||
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)
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
|
||||
$(SIZE) $(basename $@).nxe
|
||||
endef
|
||||
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)
|
||||
$(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@
|
||||
$(SIZE) $(basename $@).nxe
|
||||
|
||||
Reference in New Issue
Block a user