]> git.pld-linux.org Git - packages/db.git/commitdiff
- enable fastmutexes on amd64
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jul 2005 19:21:39 +0000 (19:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db-amd64-fastmutex.patch -> 1.1

db-amd64-fastmutex.patch [new file with mode: 0644]

diff --git a/db-amd64-fastmutex.patch b/db-amd64-fastmutex.patch
new file mode 100644 (file)
index 0000000..d7c24a3
--- /dev/null
@@ -0,0 +1,12 @@
+--- db4.2-4.2.52.orig/dist/aclocal/mutex.ac
++++ db4.2-4.2.52/dist/aclocal/mutex.ac
+@@ -420,7 +433,7 @@
+ # x86/gcc: FreeBSD, NetBSD, BSD/OS, Linux
+ if test "$db_cv_mutex" = no; then
+ AC_TRY_COMPILE(,[
+-#if (defined(i386) || defined(__i386__)) && defined(__GNUC__)
++#if (defined(i386) || defined(__i386__) || defined(__x86_64__)) && defined(__GNUC__)
+       exit(0);
+ #else
+       FAIL TO COMPILE/LINK
+
This page took 0.096933 seconds and 4 git commands to generate.