projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make armv7l headers generic for the arm architecture
[userspace-rcu.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index e33e82131acbd60995bf2c08e2a283fd69a5f254..69ce396ef07956e98d0480103a879fc8ed382305 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2,7
+2,7
@@
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
-AC_INIT([userspace-rcu], [0.
4.1
], [mathieu dot desnoyers at efficios dot com])
+AC_INIT([userspace-rcu], [0.
5.2
], [mathieu dot desnoyers at efficios dot com])
AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
@@
-51,21
+51,21
@@
case $host_cpu in
s390x) ARCHTYPE="s390" ;;
sparc64) ARCHTYPE="sparc64" ;;
alpha*) ARCHTYPE="alpha" ;;
s390x) ARCHTYPE="s390" ;;
sparc64) ARCHTYPE="sparc64" ;;
alpha*) ARCHTYPE="alpha" ;;
+ ia64) ARCHTYPE="gcc" ;;
+ arm*) ARCHTYPE="arm" ;;
*) ARCHTYPE="unknown";;
esac
*) ARCHTYPE="unknown";;
esac
-if test "$ARCHTYPE" != "unknown"; then
- UATOMICSRC=urcu/uatomic_arch_$ARCHTYPE.h
- ARCHSRC=urcu/arch_$ARCHTYPE.h
-else
- UATOMICSRC=urcu/uatomic_generic.h
- ARCHSRC=urcu/arch_generic.h
-fi
+UATOMICSRC=urcu/uatomic_arch_$ARCHTYPE.h
+ARCHSRC=urcu/arch_$ARCHTYPE.h
if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then
APISRC=tests/api_gcc.h
else
APISRC=tests/api_$ARCHTYPE.h
fi
if test "x$ARCHTYPE" != xx86 -a "x$ARCHTYPE" != xppc; then
APISRC=tests/api_gcc.h
else
APISRC=tests/api_$ARCHTYPE.h
fi
+if test "$ARCHTYPE" == "armv7l"; then
+ CFLAGS="-mcpu=cortex-a9 -mtune=cortex-a9 -O"
+fi
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
AC_SUBST(ARCHTYPE)
AC_SUBST(SUBARCHTYPE)
This page took
0.023221 seconds
and
4
git commands to generate.