Silenced a warning, apparently a GCC 12 (ld) bug.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16263 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
bc8a86ab68
commit
50788ad089
|
@ -25,7 +25,7 @@ endif
|
||||||
|
|
||||||
# Linker extra options here.
|
# Linker extra options here.
|
||||||
ifeq ($(USE_LDOPT),)
|
ifeq ($(USE_LDOPT),)
|
||||||
USE_LDOPT = -q -Wl,-zmax-page-size=512
|
USE_LDOPT = -q -Wl,-zmax-page-size=512,--no-warn-rwx-segment
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable this if you want link time optimizations (LTO).
|
# Enable this if you want link time optimizations (LTO).
|
||||||
|
|
|
@ -94,7 +94,7 @@ static char *lsalloc(sglob_t *psglob, size_t len) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Copyright not specified so public domain code, not my thing.*/
|
/* Copyright not specified so public domain code, not my thing.*/
|
||||||
bool match(const char *pattern, const char *text) {
|
static bool match(const char *pattern, const char *text) {
|
||||||
|
|
||||||
if (*pattern == '\0' && *text == '\0')
|
if (*pattern == '\0' && *text == '\0')
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue