projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix rcu_assign_pointer() dynamic linking behavior
[userspace-rcu.git]
/
Makefile.build.inc
diff --git
a/Makefile.build.inc
b/Makefile.build.inc
index fc4c471441cc4c6a53dcbcde353f6a15dcd9fb1c..010bcf578a4b80307a2cb0ec05b6766be1d05827 100644
(file)
--- 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
LDFLAGS=-lpthread
@@
-22,6
+29,9
@@
endif
ifeq ("${HOSTTYPE}","ppc64")
ARCHTYPE=ppc
endif
ifeq ("${HOSTTYPE}","ppc64")
ARCHTYPE=ppc
endif
+ifeq ("${HOSTTYPE}","ppc")
+ARCHTYPE=ppc
+endif
ifeq ("${HOSTTYPE}","s390")
ARCHTYPE=s390
endif
ifeq ("${HOSTTYPE}","s390")
ARCHTYPE=s390
endif
@@
-29,9
+39,6
@@
ifeq ("${HOSTTYPE}","s390x")
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
#Changing the signal number used by the library. SIGUSR1 by default.
#CFLAGS+=-DSIGURCU=SIGUSR2
This page took
0.02744 seconds
and
4
git commands to generate.