Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitda7017f

Browse files
committed
nrf: Revert "nrf/Makefile: Enable LTO by default only on newer gcc.".
This reverts commit62e0fa0.Reverting as the only linker wrap needed for nrf port was removedin the parent commit.This work was funded through GitHub Sponsors.Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent4691435 commitda7017f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

‎ports/nrf/Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,7 @@ CFLAGS_MCU_m4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -mfpu=fpv4-s
129129

130130
CFLAGS_MCU_m0 =$(CFLAGS_CORTEX_M) -fshort-enums -mtune=cortex-m0 -mcpu=cortex-m0 -mfloat-abi=soft
131131

132-
# linker wrap does not work with lto on older gcc/binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=24406
133-
GCC_VERSION =$(shell arm-none-eabi-gcc -dumpversion)
134-
GCC_MAJOR_VERS =$(word 1,$(subst ., ,$(GCC_VERSION)))
135-
ifeq ($(shell test$(GCC_MAJOR_VERS) -ge 10; echo$$?),0)
136132
LTO ?= 1
137-
else
138-
LTO ?= 0
139-
endif
140133

141134
ifeq ($(LTO),1)
142135
CFLAGS += -flto

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp