ld: fix warning reported by GCC 12 linker
warning: nuttx has a LOAD segment with RWX permissions Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
0eae218b49
commit
6c6a54b0c9
@ -236,6 +236,9 @@ else
|
||||
|
||||
ifeq ($(GCCVER),12.2.1)
|
||||
ARCHOPTIMIZATION += --param=min-pagesize=0
|
||||
ifeq ($(CONFIG_ARCH_RAMFUNCS),y)
|
||||
LDFLAGS += --no-warn-rwx-segments
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user