remove redundant -Ws from Makefile

This commit is contained in:
Eric 2013-08-20 19:24:18 -04:00
parent 5e4143973d
commit 853524c2ae

View File

@ -12,16 +12,14 @@ bindir=$(PREFIX)/sbin
# Hardening and warnings for building with gcc # Hardening and warnings for building with gcc
# Maybe add -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # Maybe add -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
#-Wold-style-definition -Wswitch-enum GCCWARNINGS = -Wall -Wformat=2 -Wno-format-nonliteral\
GCCWARNINGS = -Wall -pedantic -fno-strict-aliasing -Wfloat-equal -Wundef \ -pedantic -fno-strict-aliasing \
-Wpointer-arith \ -Wextra \
-Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment \ -Wfloat-equal -Wundef -Wwrite-strings -Wredundant-decls \
-Wformat=2 -Wwrite-strings -Wredundant-decls \
-Wnested-externs -Wbad-function-cast -Winit-self \ -Wnested-externs -Wbad-function-cast -Winit-self \
-Wmissing-field-initializers \ -Wmissing-noreturn -Wnormalized=id \
-Waddress -Wmissing-noreturn -Wnormalized=id \ -Wstack-protector
-Wstrict-overflow=1 -Wextra \
-Wstack-protector -Wformat -Wformat-security -Wpointer-sign -Wno-format-nonliteral -Wno-format-y2k
GCCHARDENING=-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1 GCCHARDENING=-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIC --param ssp-buffer-size=1
LDHARDENING=-z relro -z now LDHARDENING=-z relro -z now