From 66aefa166e189afc473fcd3be74c578ee268bc53 Mon Sep 17 00:00:00 2001 From: Bogomil Vasilev Date: Tue, 22 Aug 2017 14:46:35 +0300 Subject: [PATCH] test flags --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6a52a00..7af524c 100644 --- a/Makefile +++ b/Makefile @@ -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 \