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 \