blob: f3a9c1f2c0799575e35a91d80888767ba9378603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-ad,v 1.3 2012/12/09 00:11:42 adam Exp $
--- configure.orig 2012-12-08 08:28:13.000000000 +0000
+++ configure
@@ -10205,7 +10205,7 @@ if test "$enable_debug" = yes; then
$as_echo "yes" >&6; }
enable_debug=yes
else
- CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG -Wall"
+ CXXFLAGS="$CXXFLAGS -DNDEBUG -Wall"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
enable_debug=no
@@ -10276,11 +10276,11 @@ for ax_openmp_flag in $ax_openmp_flags;
#ifdef __cplusplus
extern "C"
#endif
-char omp_set_num_threads ();
+#include <omp.h>
int
main ()
{
-return omp_set_num_threads ();
+return omp_get_num_threads ();
;
return 0;
}
|