Remove few hardening flags, let's not go overboard :^)

This commit is contained in:
Tiiffi
2024-12-12 22:15:50 +02:00
parent f0e7e71589
commit 2094048d46
2 changed files with 1 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ Building and installing
- POSIX.1 support - POSIX.1 support
* getopt() * getopt()
* strcasecmp() * strcasecmp()
* tcflush()
--- ---

View File

@@ -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