Changeset 30cde042 in rtems


Ignore:
Timestamp:
Jul 28, 1998, 4:50:14 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
07e91808
Parents:
bd7c547
Message:

Added missing parts of patch from Ralf Corsepius <corsepiu@…>.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/compilers/gcc-target-default.cfg

    rbd7c547 r30cde042  
    204204# Specify our own default rule for this to prevent having CFLAGS and
    205205#  CPPFLAGS being passed to linker
    206 ${ARCH}/%: ${ARCH}/%.o
    207         ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS}
     206#
     207#
     208# NOTE (Ralf): Having this rule is a bug, IMO.
     209# I have only kept it for the moment because some (broken) Makefiles
     210# might need it.
     211#
     212# ${ARCH}/%: ${ARCH}/%.o
     213#       ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS}
     214#
     215# Anyway, the rule above is wrong. The one below should be correct
     216# (But this one should also not be necessary. If something breaks now,
     217# have a look at the Makefile or custom/*.cfg :-)
     218# $(ARCH)/%.exe: $(ARCH)/%.o
     219#       $(make-exe)
    208220
    209221# Make foo.rel from foo.o
     
    272284# $(PGM): $(LINK_FILES)
    273285#       $(LD) $(LDFLAGS) -o $@ $(LINK_OBJS) \
    274 #       --start-group $(LIB_LIBS) --end-group
     286#       --start-group $(LINK_LIBS) --end-group
    275287#
    276288# gcc28:
    277289# $(PGM): $(LINK_FILES)
    278 #       $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LIB_LIBS)
     290#       $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
    279291#
    280292
  • make/compilers/gcc-target-default.cfg

    rbd7c547 r30cde042  
    204204# Specify our own default rule for this to prevent having CFLAGS and
    205205#  CPPFLAGS being passed to linker
    206 ${ARCH}/%: ${ARCH}/%.o
    207         ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS}
     206#
     207#
     208# NOTE (Ralf): Having this rule is a bug, IMO.
     209# I have only kept it for the moment because some (broken) Makefiles
     210# might need it.
     211#
     212# ${ARCH}/%: ${ARCH}/%.o
     213#       ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS}
     214#
     215# Anyway, the rule above is wrong. The one below should be correct
     216# (But this one should also not be necessary. If something breaks now,
     217# have a look at the Makefile or custom/*.cfg :-)
     218# $(ARCH)/%.exe: $(ARCH)/%.o
     219#       $(make-exe)
    208220
    209221# Make foo.rel from foo.o
     
    272284# $(PGM): $(LINK_FILES)
    273285#       $(LD) $(LDFLAGS) -o $@ $(LINK_OBJS) \
    274 #       --start-group $(LIB_LIBS) --end-group
     286#       --start-group $(LINK_LIBS) --end-group
    275287#
    276288# gcc28:
    277289# $(PGM): $(LINK_FILES)
    278 #       $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LIB_LIBS)
     290#       $(CC) $(CFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
    279291#
    280292
Note: See TracChangeset for help on using the changeset viewer.