X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=Makefile.build.inc;h=56c7705690f0afb7dbffe6e6bdd3020d1aa34e56;hb=7ac06cef7a7d9394332837edc5c0e9595286a5fc;hp=fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c;hpb=317f9f21987c107985366fa06d7f649b7767163e;p=urcu.git diff --git a/Makefile.build.inc b/Makefile.build.inc index fc4c471..56c7705 100644 --- a/Makefile.build.inc +++ b/Makefile.build.inc @@ -1,7 +1,14 @@ -CFLAGS=-Wall -O2 -g -I. -#debug -#CFLAGS=-Wall -g +CFLAGS=-Wall -I. + +#optimized +CFLAGS+=-O2 + +#debug information +CFLAGS+=-g + +#RCU debug (slower, with error-checks) +#CFLAGS+=-DDEBUG_RCU LDFLAGS=-lpthread