diff options
-rw-r--r-- | linux/Makefrag.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/Makefrag.am b/linux/Makefrag.am index 23384523..2af513b9 100644 --- a/linux/Makefrag.am +++ b/linux/Makefrag.am @@ -37,9 +37,15 @@ liblinux_a_CPPFLAGS = $(AM_CPPFLAGS) \ # corresponding text segment definitions, we must always optimize. liblinux_a_CFLAGS = -O2 $(AM_CFLAGS) +# Newer compilers (GCC >= 14) have turned on specific warnings as errors, +# disable that here. +DISABLED_ERRORS = -Wno-error=incompatible-pointer-types \ + -Wno-error=implicit-function-declaration \ + -Wno-error=int-conversion # Disable warnings that are applied to the core Mach code. liblinux_a_CFLAGS += -Wno-missing-prototypes -Wno-strict-prototypes \ - -Wno-old-style-definition + -Wno-old-style-definition \ + $(DISABLED_ERRORS) # See <http://lists.gnu.org/archive/html/bug-hurd/2006-01/msg00148.html>. liblinux_a_CFLAGS += \ |