mirror of
				https://github.com/Tiiffi/mcrcon.git
				synced 2025-10-31 13:21:07 -04:00 
			
		
		
		
	Add hardening flags
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @ -15,7 +15,7 @@ RM = rm -v -f | ||||
|  | ||||
| CC ?= gcc | ||||
| CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2 | ||||
| EXTRAFLAGS ?= -fstack-protector-all | ||||
| EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-common | ||||
|  | ||||
| ifeq ($(OS), Windows_NT) | ||||
| 	LINKER = -lws2_32 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user