mirror of https://github.com/ArduPilot/ardupilot
make file relax
This commit is contained in:
parent
e704ab28ee
commit
3848f2094e
|
@ -243,6 +243,12 @@ CFLAGS = -g -mmcu=$(MCU) $(DEFINES) -Wa,$(LISTOPTS) $(OPTFLAGS) $(DEPFLAGS) $(
|
|||
ASFLAGS = -g -mmcu=$(MCU) $(DEFINES) $(LISTOPTS) $(DEPFLAGS) $(ASOPTS)
|
||||
LDFLAGS = -g -mmcu=$(MCU) $(OPTFLAGS) -Wl,--relax,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
|
||||
|
||||
ifeq ($(BOARD),mega)
|
||||
LDFLAGS = -g -mmcu=$(MCU) $(OPTFLAGS) -Wl,--gc-sections -Wl,-Map -Wl,$(SKETCHMAP)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
LIBS = -lm
|
||||
|
||||
SRCSUFFIXES = *.cpp *.c *.S
|
||||
|
|
Loading…
Reference in New Issue