test flags
This commit is contained in:
5
Makefile
5
Makefile
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user