test flags

This commit is contained in:
Bogomil Vasilev
2017-08-22 14:46:35 +03:00
parent f10566003c
commit 66aefa166e

View File

@@ -6,7 +6,8 @@ WFLAGS ?= -Wall \
-pedantic -pedantic
SQLCCFLAGS ?= $(shell mysql_config --cflags) SQLCCFLAGS ?= $(shell mysql_config --cflags)
CCFLAGS += -pipe \ CCFLAGS += -pipe \
-fstack-protector-strong -fstack-protector-strong \
$(CFLAGS)
# Use this to store compile flags and debug info. # Use this to store compile flags and debug info.
# You may simply check the flags later with: # You may simply check the flags later with:
@@ -16,7 +17,7 @@ ifeq ($(DEBUG), yes)
endif endif
LDFLAGS = -O1 -lcrypto -lssl -lpthread LDFLAGS = -O1 -lcrypto -lssl -lpthread
LDFLAGS += -Wl,-z,relro,-z,now LDFLAGS += -Wl,-z,relro,-z,now $(LFLAGS)
SQLLDFLAGS += $(shell mysql_config --libs) SQLLDFLAGS += $(shell mysql_config --libs)
SOURCES = main.c \ SOURCES = main.c \