mirror of
https://github.com/AtHeartEngineer/sss.git
synced 2026-01-09 12:47:57 -05:00
Add compiler flags to harden object code
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,8 +1,7 @@
|
||||
CFLAGS += -g -O2 -m64 -std=c99 -pedantic \
|
||||
-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wformat -Wformat-security \
|
||||
-Werror=format-security -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param ssp-buffer-size=4 \
|
||||
-fPIC -fno-strict-overflow
|
||||
-D_FORTIFY_SOURCE=2 -fPIC -fno-strict-overflow
|
||||
SRCS = hazmat.c randombytes.c sss.c tweetnacl.c
|
||||
OBJS := ${SRCS:.c=.o}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user