arch/arm64: sync with mainline change
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
a42448feb4
commit
ce6330bf29
@ -166,10 +166,10 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_TOOLCHAIN_GNU),y)
|
||||
ifeq ($(GCCVER),)
|
||||
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r "s/.* ([0-9]+\.[0-9]+).*/\1/")
|
||||
export GCCVER := $(shell $(CC) --version | grep gcc | sed -r "s/.* ([0-9]+\.[0-9]+).*/\1/" | cut -d'.' -f1)
|
||||
endif
|
||||
|
||||
ifeq ($(GCCVER),12.2)
|
||||
ifeq ($(GCCVER),12)
|
||||
LDFLAGS += --no-warn-rwx-segments
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user