summaryrefslogtreecommitdiff
path: root/security/cryptlib/files/patch-misc_os_spec.c
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-07-14 07:06:17 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-07-14 07:06:17 +0000
commit51d271f40fff76ccb26210ec15919cc25fc6de68 (patch)
treed1aac173005e479aa98b79af0ffc7bf29c44d976 /security/cryptlib/files/patch-misc_os_spec.c
parentUpdate to the 20060713 snapshot of GCC 4.0.4. (diff)
Update to 3.2.3 release:
- OPTIONSify (respect CFLAGS / OPTIMIZED_CFLAGS) - Add support for PKCS#11 tokens - Grap maintainership
Notes
Notes: svn path=/head/; revision=167763
Diffstat (limited to 'security/cryptlib/files/patch-misc_os_spec.c')
-rw-r--r--security/cryptlib/files/patch-misc_os_spec.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/cryptlib/files/patch-misc_os_spec.c b/security/cryptlib/files/patch-misc_os_spec.c
new file mode 100644
index 000000000000..f8554713156c
--- /dev/null
+++ b/security/cryptlib/files/patch-misc_os_spec.c
@@ -0,0 +1,11 @@
+--- misc/os_spec.c.orig Fri Jul 14 08:46:10 2006
++++ misc/os_spec.c Fri Jul 14 08:46:38 2006
+@@ -1275,7 +1275,7 @@
+ return( sysCaps );
+ }
+
+-#elif defined( __GNUC__ ) && defined( __i386__ )
++#elif defined( __GNUC__ ) && defined( __i386__ ) && !defined(__FreeBSD__)
+
+ #if SYSCAP_FLAG_RDTSC != 0x01
+ #error Need to sync SYSCAP_FLAG_RDTSC with equivalent asm definition