Fix tests makefile
[urcu.git] / Makefile.build.inc
index fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c..010bcf578a4b80307a2cb0ec05b6766be1d05827 100644 (file)
@@ -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
 
@@ -22,6 +29,9 @@ endif
 ifeq ("${HOSTTYPE}","ppc64")
 ARCHTYPE=ppc
 endif
+ifeq ("${HOSTTYPE}","ppc")
+ARCHTYPE=ppc
+endif
 ifeq ("${HOSTTYPE}","s390")
 ARCHTYPE=s390
 endif
@@ -29,9 +39,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
 
This page took 0.022412 seconds and 4 git commands to generate.