Changeset 009c485 in mainline for boot/Makefile.build


Ignore:
Timestamp:
2018-05-01T19:02:23Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
742fc98e
Parents:
5261062
Message:

Always use CC for linking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    r5261062 r009c485  
    3737
    3838AFLAGS = --fatal-warnings
    39 LFLAGS = --fatal-warnings --warn-common
     39LDFLAGS = -Wl,--fatal-warnings,--warn-common
    4040
    4141COMMON_CFLAGS = $(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     
    8282
    8383$(RAW): $(OBJECTS) $(LINK)
    84         $(LD) -n $(LFLAGS) -T $(LINK) -M -Map $(MAP) -o $@ $(OBJECTS)
     84        $(CC) $(CFLAGS) -Wl,-n $(LDFLAGS) -T $(LINK) -Wl,-M,-Map,$(MAP) -o $@ $(OBJECTS)
    8585
    8686$(LINK): | depend
Note: See TracChangeset for help on using the changeset viewer.