mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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
@@ -21,14 +21,14 @@ INC += -I.
|
||||
INC += -I$(TOP)
|
||||
INC += -I$(BUILD)
|
||||
|
||||
CFLAGS = $(INC) -g -Wall -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
|
||||
CFLAGS += $(INC) -g -Wall -Wdouble-promotion -Wfloat-conversion -std=c99 $(COPT)
|
||||
CFLAGS += -mno-string -mno-multiple -mno-vsx -mno-altivec -nostdlib
|
||||
CFLAGS += -mlittle-endian -mstrict-align -msoft-float
|
||||
CFLAGS += -Os
|
||||
CFLAGS += -fdata-sections -ffunction-sections -fno-stack-protector -ffreestanding
|
||||
CFLAGS += -U_FORTIFY_SOURCE
|
||||
|
||||
LDFLAGS = -N -T powerpc.lds -nostdlib
|
||||
LDFLAGS += -N -T powerpc.lds -nostdlib
|
||||
|
||||
LIBS =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user