Changeset 20e1bdfc in rtems for c/src/make/leaf.cfg


Ignore:
Timestamp:
Sep 15, 2008, 5:43:22 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
182674ed
Parents:
4fcb2f17
Message:

2008-09-15 Joel Sherrill <joel.sherrill@…>

  • leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in make-exe and make-cxx-exe definitions. This was resulting in the linker script being processed twice and breaking some BSPs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/leaf.cfg

    r4fcb2f17 r20e1bdfc  
    6767
    6868define bsp-link-c
    69         $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     69        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    7070            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
    7171endef
    7272
    7373define bsp-link-cxx
    74         $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     74        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
    7575            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
    7676endef
Note: See TracChangeset for help on using the changeset viewer.