all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS.
This avoids a surprise where an = can cancel out an earlier +=. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
8e912a501a
commit
17f2783e4a
@@ -98,8 +98,8 @@ We also need a Makefile at this point for the port:
|
||||
include $(TOP)/extmod/extmod.mk
|
||||
|
||||
# Set CFLAGS and libraries.
|
||||
CFLAGS = -I. -I$(BUILD) -I$(TOP)
|
||||
LIBS = -lm
|
||||
CFLAGS += -I. -I$(BUILD) -I$(TOP)
|
||||
LIBS += -lm
|
||||
|
||||
# Define the required source files.
|
||||
SRC_C = \
|
||||
|
||||
Reference in New Issue
Block a user