remove redundant -Ws from Makefile
This commit is contained in:
		
							
								
								
									
										18
									
								
								src/Makefile
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								src/Makefile
									
									
									
									
									
								
							| @@ -11,17 +11,15 @@ mandir=/usr/share/man/man1/ | |||||||
| bindir=$(PREFIX)/sbin | bindir=$(PREFIX)/sbin | ||||||
|  |  | ||||||
| # Hardening and warnings for building with gcc | # Hardening and warnings for building with gcc | ||||||
| #M aybe 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 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user