mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-12-16 18:22:53 -05:00
Remove few hardening flags, let's not go overboard :^)
This commit is contained in:
@@ -8,7 +8,6 @@ Building and installing
|
|||||||
- POSIX.1 support
|
- POSIX.1 support
|
||||||
* getopt()
|
* getopt()
|
||||||
* strcasecmp()
|
* strcasecmp()
|
||||||
* tcflush()
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ RM = rm -v -f
|
|||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
||||||
EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-common
|
EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
LINKER = -lws2_32
|
LINKER = -lws2_32
|
||||||
|
|||||||
Reference in New Issue
Block a user