diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2021-09-03 10:41:44 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2021-09-03 17:03:47 +0000 |
| commit | edc7b289b2b2681ec65c80011540fa17e1799936 (patch) | |
| tree | 6888551c5cd801b62defcd06740bb750d0d922c8 /libexec/rtld-elf | |
| parent | cc110974c4edae799e2682afcd32cbfc094e6237 (diff) | |
Diffstat (limited to 'libexec/rtld-elf')
| -rw-r--r-- | libexec/rtld-elf/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index be18f1759cc6..a51acf68068a 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -111,4 +111,8 @@ ${PROG_FULL}: ${VERSION_MAP} # GCC warns about redeclarations even though they have __exported # and are therefore not identical to the ones from the system headers. CFLAGS+= -Wno-redundant-decls +.if ${COMPILER_VERSION} < 40300 +# Silence -Wshadow false positives in ancient GCC +CFLAGS+= -Wno-shadow +.endif .endif |
