From 9cd8cc2c90f1edc9f9e85baa5559b151e76b0467 Mon Sep 17 00:00:00 2001 From: Bogomil Vasilev Date: Mon, 13 Aug 2018 15:19:52 +0300 Subject: [PATCH] Make sure we always append mysql_cofnfig cflags & ldflags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0b5f30f..36423d5 100644 --- a/Makefile +++ b/Makefile @@ -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: