1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 03:03:25 +01:00

Add stack protection compile flag to Makefile

This commit is contained in:
Jfreegman 2015-11-10 23:34:46 -05:00
parent 7e0b8b4870
commit d16be574f3
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -28,7 +28,6 @@
#include "windows.h"
#include "qr_code.h"
#define BORDER_CHAR "|"
#define BORDER_LEN 1
#define CHAR_1 "\342\226\210"
#define CHAR_2 "\342\226\204"