about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
-rw-r--r--src/luasec/Makefile2
-rw-r--r--src/luasocket/makefile6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 4b65932..125e056 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,7 +8,7 @@
 PLAT= none
 
 CC= gcc
-CFLAGS= -g -O2 -std=c99 -Wall -Wshadow $(MYCFLAGS) -D_DEFAULT_SOURCE
+CFLAGS= -g -O2 -std=c99 -Wall $(MYCFLAGS) -D_DEFAULT_SOURCE
 AR= ar rc
 RANLIB= ranlib
 RM= rm -f
diff --git a/src/luasec/Makefile b/src/luasec/Makefile
index 8c84079..12babc6 100644
--- a/src/luasec/Makefile
+++ b/src/luasec/Makefile
@@ -9,7 +9,7 @@ OBJS= \
  config.o  \
  ec.o
 
-WARN=-Wall -Wshadow
+WARN=-Wall
 
 BSD_CFLAGS=-O2 -fPIC $(WARN) $(DEFS)
 BSD_LDFLAGS=-O -fPIC -shared
diff --git a/src/luasocket/makefile b/src/luasocket/makefile
index ceb372f..034f79a 100644
--- a/src/luasocket/makefile
+++ b/src/luasocket/makefile
@@ -70,7 +70,7 @@ SO_linux=so
 O_linux=o
 CC_linux=gcc
 DEF_linux=-DLUASOCKET_$(DEBUG)
-CFLAGS_linux= -g -O2 -Wall -Wpedantic -Wshadow -Wextra $(DEF)
+CFLAGS_linux= -g -O2 -Wall -Wpedantic -Wextra $(DEF)
 LDFLAGS_linux= -o
 LD_linux=ld
 SOCKET_linux=usocket.o
@@ -82,7 +82,7 @@ SO_bsd=so
 O_bsd=o
 CC_bsd=gcc
 DEF_bsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN
-CFLAGS_bsd=-g -O2 -Wall -Wshadow -Wextra -Wimplicit $(DEF)
+CFLAGS_bsd=-g -O2 -Wall -Wextra -Wimplicit $(DEF)
 LDFLAGS_bsd=-O -shared -fpic -o
 LD_bsd=gcc
 SOCKET_bsd=usocket.o
@@ -94,7 +94,7 @@ SO_solaris=so
 O_solaris=o
 CC_solaris=gcc
 DEF_solaris=-DLUASOCKET_$(DEBUG)
-CFLAGS_solaris=-g -O2 -Wall -Wshadow -Wextra -Wimplicit $(DEF)
+CFLAGS_solaris=-g -O2 -Wall -Wextra -Wimplicit $(DEF)
 LDFLAGS_solaris=-lnsl -lsocket -lresolv -O -shared -fpic -o 
 LD_solaris=gcc
 SOCKET_solaris=usocket.o