-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
ifeq ("${HOSTTYPE}","ppc64")
ARCHTYPE=ppc
endif
+ifeq ("${HOSTTYPE}","ppc")
+ARCHTYPE=ppc
+endif
ifeq ("${HOSTTYPE}","s390")
ARCHTYPE=s390
endif
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