diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-20 09:26:35 +0200 |
---|---|---|
committer | James Cameron <quozl@laptop.org> | 2020-03-12 14:17:55 +1100 |
commit | 0330c6ea0d7e7becc75e12a0c20d3044582e15f6 (patch) | |
tree | 3503f502163badc177f174c1f6d7b3c771baa1b9 | |
parent | 5be334a549c937970ebc47a992763e942cb772ab (diff) | |
download | openfirmware-0330c6ea0d7e7becc75e12a0c20d3044582e15f6.tar.gz |
clients/emacs: disable some warnings
The Microemacs heavily relies on some implicit behavior of ancient compilers
that GCC now warns about. Don't warn about that; it may drown warnings
about actual problems.
-rw-r--r-- | clients/emacs/arm/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/emacs/arm/Makefile b/clients/emacs/arm/Makefile index 985d15f9..ce306eee 100644 --- a/clients/emacs/arm/Makefile +++ b/clients/emacs/arm/Makefile @@ -26,6 +26,8 @@ GLIBDIR=$(dir $(shell $(CC) -print-libgcc-file-name)) INCS=-I. -I$(SRCDIR) -I$(HLIBDIR) MODES=-g -O2 -fno-inline CFLAGS= $(INCS) $(MODES) +CFLAGS += -Wno-implicit-function-declaration +CFLAGS += -Wno-implicit-int ifeq (y, $(shell $(CC) -xc -c -fno-stack-protector /dev/null -o /dev/null 2>/dev/null && echo y)) CFLAGS += -fno-stack-protector |