Default to architecture size, add Makefile32
[urcu.git] / Makefile.build.inc
index fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c..3f05de97a397d0a1137deba17b01108ffc4f1874 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
 
@@ -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
 
This page took 0.022293 seconds and 4 git commands to generate.