X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile.build.inc;h=3f05de97a397d0a1137deba17b01108ffc4f1874;hp=fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c;hb=ed868fa15f8c5511a1c32d1779f6fe37375c7137;hpb=317f9f21987c107985366fa06d7f649b7767163e diff --git a/Makefile.build.inc b/Makefile.build.inc index fc4c471..3f05de9 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 @@ -29,9 +36,6 @@ ifeq ("${HOSTTYPE}","s390x") ARCHTYPE=s390 endif -#Build the library without using signals. Slower read-side. -#CFLAGS+=-DCONFIG_URCU_AVOID_SIGNALS - #Changing the signal number used by the library. SIGUSR1 by default. #CFLAGS+=-DSIGURCU=SIGUSR2