X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=Makefile;h=cfa9b76ae771ecda771fefe4b895052f6cd22f49;hb=c7d16d5da407d3f5b00ee812f87f059105b93b30;hp=748800c276decbc232e224d7400612ec6d41af4d;hpb=08f8da2e81d783d851e9d0a4bbaded420a665d6f;p=cassiopeia.git diff --git a/Makefile b/Makefile index 748800c..cfa9b76 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,11 @@ CXX=${LT_CXX} CXX_DEP=${LT_CXX_DEP} LD=${LT_LD} -CFLAGS=-O3 -g -flto -Wall -Werror -Wextra -pedantic -std=c++11 +ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) +ADDFLAGS=-DNO_DAEMON +endif + +CFLAGS=-O3 -g -flto -Wall -Werror -Wextra -pedantic -std=c++11 ${ADDFLAGS} CXXFLAGS=$(CFLAGS) LDFLAGS=-O3 -g -flto -lmysqlclient -lssl -lcrypto -ldl