summaryrefslogtreecommitdiff
path: root/gcc/Makefile
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-01-25 22:25:35 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-01-25 22:25:35 -0500
commit1f83e3d73ffcb5ed0d028f132337d8d86b8d0ead (patch)
tree01d534fb9a6aa5ca1d83631915ec69e226f2f3d2 /gcc/Makefile
parente4250fbaac8c4944d27f58cbfa469edd8b6374f5 (diff)
Fix builds on xcode 12+
Enforce the use of -Werror-implicit-function-declaration for all platforms to catch this. See: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes
Diffstat (limited to 'gcc/Makefile')
-rw-r--r--gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile b/gcc/Makefile
index c30991a..9756e90 100644
--- a/gcc/Makefile
+++ b/gcc/Makefile
@@ -24,7 +24,7 @@ VPATH = $(srcdir)
CC = gcc
-BASE_CFLAGS = -g -std=gnu11
+BASE_CFLAGS = -g -std=gnu11 -Werror-implicit-function-declaration
INCLUDES = -I. -I$(srcdir)