about summary refs log tree commit diff stats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-22 19:01:07 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-22 19:01:07 -0800
commit76329c0206ede0a986da423e6a813ef91334f6cd (patch)
tree5a70ab28b4d10e92b0e2ca8e12efc99f2b8fd425 /src/Makefile
parente77f3eb9f9cfbd79f56c666545e96d00cb752695 (diff)
downloadteliva-76329c0206ede0a986da423e6a813ef91334f6cd.tar.gz
standardize warning flags everywhere
I'd like to enable -Wextra as well, but that creates some false
positives.

I've at least made my changes clean w.r.t. -Wextra.

Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to
fix those.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 45f3b41..1d36c93 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,7 +8,7 @@
 PLAT= none
 
 CC= gcc
-CFLAGS= -g -O2 -Wall -Wpedantic $(MYCFLAGS)
+CFLAGS= -g -O2 -Wall -Wpedantic -Wshadow $(MYCFLAGS)
 AR= ar rc
 RANLIB= ranlib
 RM= rm -f