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