mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-19 18:06:37 +02:00
Add stack protection compile flag to Makefile
This commit is contained in:
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ CFG_DIR = $(BASE_DIR)/cfg
|
||||
|
||||
LIBS = libtoxcore ncursesw libconfig libqrencode
|
||||
|
||||
CFLAGS = -std=gnu99 -pthread -Wall -g
|
||||
CFLAGS = -std=gnu99 -pthread -Wall -g -fstack-protector-all
|
||||
CFLAGS += '-DTOXICVER="$(VERSION)"' -DHAVE_WIDECHAR -D_XOPEN_SOURCE_EXTENDED -D_FILE_OFFSET_BITS=64
|
||||
CFLAGS += '-DPACKAGE_DATADIR="$(abspath $(DATADIR))"'
|
||||
CFLAGS += $(USER_CFLAGS)
|
||||
|
Reference in New Issue
Block a user