From b069a16de72dc364c253eca32416ef0301e8090b Mon Sep 17 00:00:00 2001 From: vraatikka Date: Mon, 8 Jul 2013 11:13:59 +0300 Subject: [PATCH] Added including of makefile.inc debug flags for compiler. --- modules/routing/readwritesplit/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/routing/readwritesplit/Makefile b/modules/routing/readwritesplit/Makefile index 8152eb5e7..72b6d67e5 100644 --- a/modules/routing/readwritesplit/Makefile +++ b/modules/routing/readwritesplit/Makefile @@ -28,9 +28,8 @@ CC=cc CFLAGS=-c -fPIC -I/usr/include -I../../include -I../../../include \ -I$(LOGPATH) -I$(UTILSPATH) -I$(QCLASSPATH) \ -I$(MARIADB_SRC_PATH)/include -Wall -g -ifdef DEBUG - CFLAGS := $(CFLAGS) -DSS_DEBUG -endif + +include ../../../../makefile.inc LDFLAGS=-shared -L$(LOGPATH) -L$(QCLASSPATH) -L$(MARIADB_SRC_PATH)/libmysqld \ -Wl,-rpath,$(LOGPATH) -Wl,-rpath,$(UTILSPATH) -Wl,-rpath,$(QCLASSPATH) \