about summary refs log tree commit diff stats
path: root/src/luasec/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/luasec/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/luasec/Makefile')
-rw-r--r--src/luasec/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luasec/Makefile b/src/luasec/Makefile
index d266209..c495109 100644
--- a/src/luasec/Makefile
+++ b/src/luasec/Makefile
@@ -9,7 +9,7 @@ OBJS= \
  config.o  \
  ec.o
 
-WARN=-Wall -pedantic
+WARN=-Wall -Wpedantic -Wshadow
 
 BSD_CFLAGS=-O2 -fPIC $(WARN) $(INCDIR) $(DEFS)
 BSD_LDFLAGS=-O -fPIC -shared $(LIBDIR)