File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
# Makefile.
3
3
RUSTC ?= rustc
4
4
RUSTDOC ?= rustdoc
5
- RUSTC_FLAGS += -g - L$(BUILD_PLATFORM_DIR ) # Common regardless of platform
5
+ RUSTC_FLAGS += -L$(BUILD_PLATFORM_DIR ) # Common regardless of platform
6
6
CARGO ?= cargo
7
7
TOOLCHAIN = arm-none-eabi-
8
8
OBJCOPY ?= $(TOOLCHAIN ) objcopy
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ARCH = cortex-m0
3
3
RUSTC_FLAGS += -C opt-level=3 -Z no-landing-pads
4
4
RUSTC_FLAGS += --target $(SRC_DIR ) chips/$(CHIP ) /target.json
5
5
RUSTC_FLAGS += -Ctarget-cpu=$(ARCH ) -C relocation_model=static
6
- RUSTC_FLAGS += -g - C no-stack-check
6
+ RUSTC_FLAGS += -C no-stack-check
7
7
8
8
CFLAGS_BASE = -mcpu=$(ARCH ) -mthumb -mfloat-abi=soft
9
9
CFLAGS += $(CFLAGS_BASE ) -g -O3 -std=gnu99 -nostartfiles
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RUST_TARGET ?= $(SRC_DIR)chips/sam4l/target.json
5
5
RUSTC_FLAGS += -C opt-level=3 -Z no-landing-pads
6
6
RUSTC_FLAGS += --target $(RUST_TARGET )
7
7
RUSTC_FLAGS += -Ctarget-cpu=cortex-m4 -C relocation_model=static
8
- RUSTC_FLAGS += -g - C no-stack-check -C soft-float -C target-feature="+soft-float"
8
+ RUSTC_FLAGS += -C no-stack-check -C soft-float -C target-feature="+soft-float"
9
9
10
10
CFLAGS_BASE = -mcpu=$(ARCH ) -mthumb -mfloat-abi=soft
11
11
CFLAGS += $(CFLAGS_BASE ) -g -O3 -std=gnu99 -nostartfiles
You can’t perform that action at this time.
0 commit comments