Make sure we always append mysql_cofnfig cflags & ldflags

This commit is contained in:
2018-08-13 15:19:52 +03:00
parent b5aec20e69
commit 9cd8cc2c90

View File

@@ -9,8 +9,8 @@ CFLAGS ?= -O2 \
LDFLAGS ?= -lcrypto -lssl \
-lpthread \
-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
CFLAGS += $(shell mysql_config --cflags)
LDFLAGS += $(shell mysql_config --libs)
override CFLAGS += $(shell mysql_config --cflags)
override LDFLAGS += $(shell mysql_config --libs)
# Use this to store compile flags and debug info.
# You may simply check the flags later with: